Jeff Abrahamson on 10 May 2005 13:18:16 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Tutorials


On Mon, May 09, 2005 at 11:18:47PM -0400, Stephen Gran wrote:
>   [24 lines, 114 words, 835 characters]  Top characters: -nae\nor.
> 
> On Mon, May 09, 2005 at 11:08:39PM -0400, Mark M. Hoffman said:
> > Hi Jon:
> > 
> > * Jon Nelson <quincy@linuxnotes.net> [2005-05-06 15:14:57 -0400]:
> > > Sure it can and so can any other command with 'xargs':
> > > 
> > >     $ find ../dir1/ | cpio -o --format=tar > test.tar
> > > 
> > > would be:
> > > 
> > >     $ find ../dir1/ | xargs tar cvf test.tar
> > 
> > Ugh, no.  The xargs man page says:
> 
> Just use expansion:
> tar $options test.tar $(find ../dir1/)

Is there any difference at all between

    tar $options test.tar $(find ../dir1/)

and

    tar $options test.tar `find ../dir1/`

?

-- 
 Jeff

 Jeff Abrahamson  <http://www.purple.com/jeff/>    +1 215/837-2287
 GPG fingerprint: 1A1A BA95 D082 A558 A276  63C6 16BF 8C4C 0D1D AE4B

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug