![]() |
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 |
| bash while read how to remove \n character | papasj | Shell Programming and Scripting | 3 | 05-25-2009 09:24 PM |
| Can I read a file character by character? | murtaza | Shell Programming and Scripting | 4 | 04-27-2009 05:51 AM |
| Can i read a file character by character | karnan | Shell Programming and Scripting | 6 | 05-19-2008 02:22 AM |
| Read First Character of Each Line in File | azelinsk | Shell Programming and Scripting | 7 | 07-11-2007 08:15 PM |
| need to read 3° character from a text file | piltrafa | UNIX for Dummies Questions & Answers | 15 | 07-26-2005 10:19 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
read a variable character by character, substitute characters with something else
im having trouble doing this:
i have a variable with 2 characters repeating e.g. aababbbaaaababaabbaabbba is there a way i can search the variable for a's and b's and then change a's to b's and b's to a's? im guessing its like getting the 1's compliment of the string im doing this in BASH, and ive looked into seeing if sed or awk could help but i got nothing any help would be greatly appreciated thanks |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|