Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. file1 file2 file3
  2. 1 2 3 1 1 1 3 3 3
  3. 2 1 3 1 1 1 3 3 3
  4. 0 0 0 1 1 1 3 3 3
  5.  
  6. 1 2 3 1 1 1 3 3 3
  7. 2 1 3 1 1 1 3 3 3
  8. 0 0 0 1 1 1 3 3 3
  9.  
  10. paste file1 file2 file3 > file4
  11.  
  12. 1 2 3 1 1 1 3 3 3
  13. 2 1 3 1 1 1 3 3 3
  14. 0 0 0 1 1 1 3 3 3
  15.  
  16. paste -d ' ' file1 file2 file3 > file4
  17.  
  18. -d list Use one or more of the provided characters to replace the newline characters
  19. instead of the default tab. The characters in list are used circularly, i.e., when
  20. list is exhausted the first character from list is reused. This continues until a
  21. line from the last input file (in default operation) or the last line in each file
  22. (using the -s option) is displayed, at which time paste begins selecting characters
  23. from the beginning of list again.
  24.  
  25. The following special characters can also be used in list:
  26.  
  27. n newline character
  28. t tab character
  29. \ backslash character
  30. Empty string (not a null character).
  31.  
  32. Any other character preceded by a backslash is equivalent to the character itself.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement