![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Removing a character using sed | Raynon | Shell Programming and Scripting | 6 | 11-21-2008 11:24 AM |
| Removing empty folders using the "find" command | biot | UNIX for Dummies Questions & Answers | 3 | 03-25-2008 10:43 PM |
| extran NUll character added after end of line "\n" | arunkumar_mca | UNIX for Dummies Questions & Answers | 1 | 11-12-2007 01:23 PM |
| deleting newline characters but not the "true" \n character | caddyjoe77 | Shell Programming and Scripting | 1 | 08-15-2007 11:21 PM |
| Removing the ^M character in VI | julesinbath | UNIX for Dummies Questions & Answers | 2 | 04-29-2002 10:13 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Removing '." character using SED
HI All,
Have some files which contains some string like, "create .<table1> as" "insert into .<table2> values", i want to replace ".<table1>" with only "<table1>", i.e removing '.' character in ksh, i have written below code but it is not removing the dot character, any help? for name in `cat $filename`; do sed 's/\.$name/$name/g' $name > temp; mv -f temp $name; done where $filename contains list of files. Thanks in advance. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|