Link to home
Start Free TrialLog in
Avatar of pdadddino
pdadddinoFlag for United States of America

asked on

need to remove '\n\t' from file and keep rest

i am working on a txt file. I need to remove '\n\t' (newline+tab) that is appearing in some of the lines. Tried awk and sed but cant seem to get those utilities to work. If i do an:
od -c <filename> i can see the '\n \t' characters.
i do have other newline chars '\n' that i want to keep. only wnat to get rid of back to back chars like i said above  
Avatar of pdadddino
pdadddino
Flag of United States of America image

ASKER

tried
sed 's/\\n\\t//g' inputfile> outputfile

does not do anything
ASKER CERTIFIED SOLUTION
Avatar of Tintin
Tintin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial