Today, Peter Ajamian spake to the list: > # Put this file in a directory in your path, then simply type "d2u file.c" to > [snip sh script] And then run it from the shell (tested with 'bash', I don't know about 'sh' or 'csh') as: # for file in *.[ch] ; do d2u $file ; done The '#' is just the prompt, no big deal. That will run the script on every file in the current working directory that ends with .c or .h. -dak +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST