how to join lines in a file in Linux?

By | April 14, 2015

1) tr “n” ” ” < filename 2) cat filename | tr -d “n” 3) cat filename | tr “n” ” “ 4) paste -s -d ” ” filename

Leave a Reply

Your email address will not be published. Required fields are marked *