Richard,

Seeing your example has reminded me that I did use xargs sometime back in the last 
century when I was working with Unix regularly/exclusively.  Alas, I don't have a 
large disk in the Q40 at the moment, and the smaller one in there now is fully 
partitioned for SMSQ/E.  I do have a box running FreeBSD so I can play with xargs on 
there next chance I get.

For the Q40 I need a bigger box, an additional IDE card for a second disk and CDROM, 
and for scientists to figure out how to slow down the Earth's spin to 32 hours, then 
I'll be able to get Linux back on it again.  ;O)

Thanks for offering to send the xargs manpage - if I can't find it at home I'll take 
you up on that.

cheers,
Ian.

>-----Original Message-----
>From: Richard Zidlicky
>[mailto:[EMAIL PROTECTED]]
>Sent: 24 April 2002 13:09
>To: [EMAIL PROTECTED]
>Subject: Re: [ql-users] c68 question
>
>
>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
>
>

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

Reply via email to