[wplug] scripting question

Vanco, Don don.vanco at agilysys.com
Wed Jan 28 09:14:05 EST 2004


Hi all -
I need to script a file conversion process.  Basically, I have a directory
of files that I need to run a command against, and dump the results to a
file named the same as the input but with a unique extension.

e.g.:

blahblah foo1 > foo1.bar
blahblah foo2 > foo2.bar
lather, rinse, repeat.....

I'm sure I could figger it out using the output of ls and the "for i in"
type syntax - but know that there's some scripting talent lurking here....
and I'm a lazy sot (and have a broken cluster to attend to).

TIA
Don



More information about the wplug mailing list