legolasthehansy
asked on
remove /n using sed
Hi,
I have a text file like below,
team alpha 400
team bet/na 800
team ga/nmma 900
team omega 1100
I need to remove /n from above text using sed. I want the new lines to be preserved though.. (after the numbers). Can someone help..
lego..
I have a text file like below,
team alpha 400
team bet/na 800
team ga/nmma 900
team omega 1100
I need to remove /n from above text using sed. I want the new lines to be preserved though.. (after the numbers). Can someone help..
lego..
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
sed -e 's?\\n??' infile worked