Answers for "linux tr in file"

0

linux tr in file

Just use tr command as follows to replace a delimiter:
tr '(' '[' file.txt #replaces parenthesis '(' for brackets '['
tr '()' '[]' file.xt #respectively replaces '(' for '[' and ')' for ']'
Posted by: Guest on November-11-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language