Re: paste -sd

2004-12-18 Thread Tong
On Sat, 18 Dec 2004 23:21:12 +0100, Maurits van Rees wrote: > Maybe these examples will make it clear: Sure it does. Thanks a lot for the clear explanation. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: paste -sd

2004-12-18 Thread Maurits van Rees
On Sat, Dec 18, 2004 at 04:55:13PM -0500, Tong wrote: > $ seq 10 | paste -sd " \n" > 1 2 3 4 > 5 6 7 8 > 9 10 > > >From the man page: > >-d, --delimiters=LIST > reuse characters from LIST instead of TABs > > But I don'

paste -sd

2004-12-18 Thread Tong
Hi, Just noticed a wonderful usage of paste -s. However, I don't quite understand how -d works. Specifically, $ seq 10 1 2 3 4 5 6 7 8 9 10 $ seq 10 | paste -sd " \n" 1 2 3 4 5 6 7 8 9 10 $ seq 10 | paste -sd " \n" 1 2 3 4 5 6 7 8 9 10 $ seq 10 | paste -sd " \