On 2007-03-17, Tyler Smith <[EMAIL PROTECTED]> wrote: > On 2007-03-17, Douglas Allan Tutty <[EMAIL PROTECTED]> wrote: >> >> Within that directory I issued: >> >> $ls -1 | xargs -L 1 tar -xf >> >> and ended up with a test subdirectory containing all nine files. >> > .... > The argument to ls, "ls -1" is not necessary. ....
Did some reading on this, and it turns out that when standard output of ls is anything but a terminal it automatically defaults to 'ls -1'. So as soon as you put a pipe at the end of ls the -1 is assumed. -- Regards, Tyler Smit -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]