BreadCrumbs: Tr Command
Tr Command
From Luke Jackson
Revision as of 23:10, 21 December 2008; Ljackson (Talk | contribs)
(diff) ←Older revision | Current revision | Newer revision→ (diff)
(diff) ←Older revision | Current revision | Newer revision→ (diff)
Examples
Convert tab delimited data into comma delimited:
tr '\t' ',' <input_file> <output_file>
Replace "New Line Character" (Return) with comma:
cat fontprds.txt | tr -s "\r\n" ","