Re: Re: xargs mock run

oset <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
raf wrote:  &gt; ... | xargs echo cmd ...   Good hack.   Thing is, I tried it before and it did not work. That is why I strayed the whole topic.  Now it works, so thats OK.   There is a problem though:   $  echo a &gt; a.txt; echo b &gt; b.txt; echo c &gt; &#34;c with spaces.txt&#34;  $  echo * | xargs echo gzip | sh  gzip: c: No such file or directory  gzip: with: No such file or directory  gzip: spaces.txt: No such file or directory   If user checks his command line, and decided to use it as a script, whether through or script, then it is going tip have problem with spaces in names.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.