![]() |
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 |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Replace any control character in the string | hansini | Shell Programming and Scripting | 2 | 06-26-2009 04:54 PM |
| read in a file character by character - replace any unknown ASCII characters with spa | raghav525 | Shell Programming and Scripting | 1 | 04-20-2009 01:52 PM |
| Find and replace character in a string | callimaco0082 | UNIX for Dummies Questions & Answers | 7 | 04-10-2008 10:47 AM |
| replace character in a string pattern and save the change in same file | mihir0011 | Shell Programming and Scripting | 2 | 09-26-2007 05:31 PM |
| replace first character of string sed | prkfriryce | Shell Programming and Scripting | 6 | 08-03-2007 02:07 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
How to replace the 2nd character in a string using sed?
Hi,
i have string var1=NN. Based on conditions, i have to change this first N to Y or second N to Y and send the details to other process. How to do that? This is a linux machine. Thanks, Selva |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|