James' blog
Programming and System Administration
Friday, May 29, 2009
Removing carriage returns with sed
sed -e s/$'\r'/\ /g input_file # remove carriage returns
sed -e 's/\n/ /g' input_file # remove newlines
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment