Linux tr strip null
sed: Delete Carriage Returns and Linefeeds (CRLF)
learn unix and linux commands
linux - How to remove empty/blank lines in a file in Unix? - Server Fault
Use the following sed command for removing the null characters in a file. If the lines in the file end with \r\n\ then what works is to delete. I don't know how you can exactly achieve this with sed, but this is a solution that works with tr: tr nulls -d '\' > file-without-nulls.
Description:Very short guide to sed, tr, cut and od Author: You can use sed to change any string of printable characters into what ever other printable characters. Using tr you can change any one character into any other character, except null code 0.
Views: 5636
Date: 2018-03-05
Favorited: 91
User Comments 1
Post a comment
Comment: