>>>>> "Matthew" == Matthew Seaman <[email protected]> writes:

Matthew> As you have discovered, it is very easy to overload the argument list.
Matthew> There are many ways around this, but one of the best ones is to use
Matthew> xargs(1). eg:

Matthew>        % ls -1 | xargs rm

No need for the -1 there.  Whenever ls is not going to the terminal, it
defaults to classic -1 behavior.

Compare:

% ls

with

% ls | cat

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to