![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| vi or vim replace ,$ (eol) with just a comma | dbauhaus | UNIX and Linux Applications | 6 | 10-02-2008 09:02 AM |
| Program to replace "cut" utility | abb058 | Shell Programming and Scripting | 2 | 07-31-2006 12:18 PM |
| how to replace paste utility with sed/awk | ssayeed | Shell Programming and Scripting | 1 | 10-28-2005 06:47 PM |
| Replace , (comma) with space | mbarberis | Shell Programming and Scripting | 6 | 03-29-2005 10:35 AM |
| add comma | alisevA3 | UNIX for Dummies Questions & Answers | 3 | 10-18-2002 09:29 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
sed utility to replace /307 with comma
Hi,
I have a requirement to replace '/307' with comma ',' . for e.g. : $ cat dm.dat ------------- decimdal("\307") acct $echo $l \307 $echo $k , $sed -e "s/$l/$k/" dm.dat > dm1.dat sed: Function s/\307/,/ cannot be parsed. I want dm1.dat to be : $ cat dm1.dat ------------- decimdal(",") acct Thanks in advance. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|