![]() |
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 |
| Performing fast searching operations with a bash script | jitendriya.dash | Shell Programming and Scripting | 3 | 06-01-2009 01:49 PM |
| Help!! manipulating file | sirrtuan | UNIX for Dummies Questions & Answers | 2 | 07-16-2008 05:18 PM |
| Manipulating File | rivendell500 | SUN Solaris | 2 | 03-25-2008 10:52 PM |
| Unix file operations(shell script) | nivas | Shell Programming and Scripting | 6 | 02-07-2008 07:11 AM |
| problem in arithmetic operations | ithirak17 | Shell Programming and Scripting | 3 | 02-06-2007 06:46 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Need help is manipulating a file with some arithmetic operations using bash script
Friends,
I have a file with contents like: interface Serial0/4/0/0/1/1/1/1:0 encapsulation mfr multilink group 101 Now I need to manipulate the file in such a way that to all the numbers less than 163, 63 gets added and to all numbers greater than 163, 63 gets deducted.(The numbers means the numericals after "group") How do I do this using a bash/shell script? Thanks Shrijit |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|