This looks promising:
~> /bin/ls -1a /cdrom
.
..

~> /bin/ls -1a /cdrom | xargs -0 echo a
a .
..

Note that echo is called only once (only one 'a') and the newlines are
still there.  The trick is that xargs is expecting a null character to
separate the arguments, which is not there, so it's all treated as one
agument.

How does this work?
  svnlist | xargs -0 svn ps svn:ignore

-- 
http://www.fastmail.com - IMAP accessible web-mail


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to