The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
replace
.
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
:
replace
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
04-07-2008
DeCoTwc
Registered User
Join Date: Mar 2008
Location: NYC
Posts: 76
I'm not certain I'm following what you're saying, but if I do...
Code:
cat in|tr "|" "," > out
should give you what you want. I don't think I understand why your
SED
statement isn't working, but tr will replace the |'s with ,'s
DeCoTwc
View Public Profile
Find all posts by DeCoTwc
Find DeCoTwc's past nominations received
Find DeCoTwc's present nominations given