if you just want to delete newlines:
cat filename | tr -d '\n'
if instead you want to replace them with something else e.g. _
cat filename | tr '\n' '_'
cat filename | tr -d '\n'
if instead you want to replace them with something else e.g. _
cat filename | tr '\n' '_'
No comments:
Post a Comment