![]() |
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 |
| 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 |
| Need help in building Unix script | susant.igate | Shell Programming and Scripting | 11 | 03-24-2009 08:44 AM |
| Building from scratch - UNIX | genesisX | UNIX for Dummies Questions & Answers | 2 | 10-02-2008 05:07 AM |
| Building a Linux like LS for Unix | 435 Gavea | Shell Programming and Scripting | 3 | 08-15-2008 03:14 PM |
| Help building the logic for a script | fahadaizaz | Shell Programming and Scripting | 3 | 07-09-2008 06:55 AM |
| building a SET clause in shell script | shalua | Shell Programming and Scripting | 14 | 04-10-2007 07:34 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Need help in building Unix script
Hi all,
We have a requirement like we need to create a program which will change a particular string in the file. For example +=KA1238767 1121 3344645 686943 22356 01 567893 12435 12121 983627 121 1092 091217 02 may be for engine failure In the above file we need to change the bold string to 56789C. The new file will be as follows +=KA1238767 1121 3344645 686943 22356 01 56789C 12435 12121 983627 121 1092 091217 02 may be for engine failure The exact problem is the bold string may vary from time to time. It can be 145629 in that case the string which will be replaced with it is 14562I and so on. In general the last character needs to be changed to the corresponding alphabet. Eg. 1- A 2-B 3-C 4-D 5-E .... 9-I Any type of suggestion or help will be highly appreciated. Thank you in advance. Regards Susant |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|