Paste

From wikieduonline
Revision as of 13:36, 1 November 2020 by Welcome (talk | contribs) (→‎See also)
Jump to navigation Jump to search

Merge every two lines:

  • cat /path/tofile.txt | paste -d " " - -[1]
  • cat /path/tofile.txt | xargs -n2 -d'\n'


Related commands


See also

  • https://stackoverflow.com/a/9605450
  • Advertising: