Text File

Aunc.1586 fa.unix-wizards utzoo!decvax!duke!unc!lab Tue Dec 15 13:22:34 1981 changing csh scripts Is there a shell script which will find old csh scripts starting with # ( and nothing else ) on the first line and change them to #! /bin/csh ? This should find and change all such files ( and no others ) in a person's home directory and recursively to all subdirectories. In particular it should not change C programs, object/compacted files , etc. I tried things with find, etc. but was not successful. A fix of this type should be useful to many of us anyhow, so if someone knows how to do this please speak up.

----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen <jgoerzen@complete.org> of http://communication.ucsd.edu/A-News/

This Usenet Oldnews Archive article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.