[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] SED
- Subject: [ale] SED
- From: thholr at alef.gcsu.edu (Thorsten Hofrichter)
- Date: Tue, 30 Nov 1999 16:30:53 -0500 (EST)
HAve a sed question.
I have been trying to figure this out for a few minutes now
how do I substitute a character for a new line
example a file that contains a,b,c,d
I need it to output
a
b
c
d
I need to use sed for this and have tried doing
cat filename | sed s/,/\\n/g
I have read man pages but dont understant why that would not work
Any ideas??
Thanks in advance
____________________________________________
Thorsten Hofrichter
AIX System Administrator
IKON Data Center
Macon, GA 31210
1-800-800-1060 x 3669
(912) 471-2301 x 3669
(912( 471-6768 (HOME)
thofrichter at ikon.com
thholr at alef.gcsu.edu
____________________________________________