The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
How to replace any char with newline char.
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
How to replace any char with newline char.
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
06-15-2006
prajith78
Registered User
Join Date: Jun 2006
Location: Bangalore, India
Posts: 8
notice that 2 slashes before 'n'
its
Code:
sed
s/,/\\n/g file1
NOT
Code:
sed
s/,/\n/g file1
prajith78
View Public Profile
Find all posts by prajith78
Find prajith78's past nominations received
Find prajith78's present nominations given