coreutils
[Top][All Lists]
Advanced

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

How to ignore an empty file with paste


From: Peng Yu
Subject: How to ignore an empty file with paste
Date: Fri, 4 Mar 2016 23:12:00 -0600

Hi, This example shows that an empty file will be used to create an
empty column. But in some cases, it makes more sense to just ignore
such a column. Is there a way to instruct paste to ignore an empty
file?

$ > empty_file
$ paste empty_file <(seq 3)
    1
    2
    3

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]