Difference between revisions of "Tr"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 2: Line 2:
  
  
Concatenate lines on a [[file]]:
+
Concatenate [[lines]] on a [[file]]:
 
  [[cat]] file | tr '\n' ' '
 
  [[cat]] file | tr '\n' ' '
  

Revision as of 12:34, 21 August 2020

This article is a Draft. Help us to complete it.


Concatenate lines on a file:

cat file | tr '\n' ' '
cat file | tr '\n' 
tr: when not truncating set1, string2 must be non-empty

Related commands

See also

Advertising: