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 file1 file2
   abc   1
   def   2
   ghi   1
   jkl   2
   mno   1
Thanks
--rck






_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to