Removing Unicode Line Separator in Bash -


i have text file unicode line separator (hex code 2028).

i want remove using bash (i see implementations python, not language). command use transform text file (output4.txt) lose unicode line separator?

see in vim below: enter image description here

probably tr command should work:

tr '\xe2\x80\xa8' ' ' < infile > outfile 

working solution: op finding this:

sed -i.old $'s/\xe2\x80\xa8/ /g' infile 

Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -