Re: feature request for coreutil paste

2008-10-16 Thread Bruno Haible
Robert C. Kahlert wrote: > File #1: >abc >def >ghi >jkl >mno > > > File #2: >1 >2 > > Output of paste file1 file2 > abc 1 > def 2 > ghi 1 > jkl 2 > mno 1 It can already be done with a combination of 'paste', 'cat', 'head', 'wc': $ while :; do cat file2 || ex

feature request for coreutil paste

2008-10-15 Thread Robert C. Kahlert
Could paste be made to recycle the shorter input file from the top of the file in the case of its exhaustion--akin to the way R recycles vectors when splicing things together? I envision something like --recycle. File #1: abc def ghi jkl mno File #2: 1 2 Output of paste f