On Tue, Apr 23, 2002 at 11:12:11AM +0100, [EMAIL PROTECTED] wrote: > >Most of this can be done with xargs as well ... > I haven't looked at xargs yet, in fact I've played with Unix very little since I've >had the Q40. I must try to find the time to install it on a spare PC here at work - >won't be allowed to connect it to the network unfortunately.
You can also install it on a spare partition of the Q40 at home. xargs is sort of a cut down full command substitution, small example: find . -name '*.c' -print | xargs is equivalent to grep '#include' `find . -name '*.c' -print ` and will find all includes used in all .c files in or below current directory. You can of course do xargs command arg1 ... <last-args to read the arguments from a file instead of a pipe. It is a separate program so it would work with c68 and all sorts of other programs but it may cause rather largish stack-space allocated to pass the args if the arg-file or pipe is really big. I can email you the manpage of xargs privately. Richard