I think most shells will accept a multi-line command along the lines of :

elmer $ for file in `ls`
> do
> echo $file
> guide $file -na -ns
> done


Note the back-quotes (not single-quotes) around ls
Some people can also do clever things with semi-colons to put it all on one
line, but I've never got the hang of that !

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Adrian Matthews
Sent: 26 August 2004 15:02
To: [EMAIL PROTECTED]
Subject: RE: [U2] Need some help with guide


Been a very long time since I used it but I'd say the command line that
is built by the * (ie select all files) is too big (guide file1 file2
file3 fiel4 etc)

Can't remember the exact unix syntax but under DOS you can do

"For Each %F in (*.*) do guide %F -na -ns"

That will run guide for each file in turn.
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to