![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Feb 2005
Posts: 2
Rep Power: 0
![]() |
edit a text file
Hi,
I'm a bit of a newbie so bare with me. I'd like to edit a number in a text doucment. The document looks like this: row1: 20 row2: 40 row3: 49 I basically just want to be able to change these numbers. So far I've been able to get these numbers into a c-program by calling a shell script that uses grep and gawk. Now based on the results of my c-program I'd like to call another script that modifys the numbers in the txt document. I think I might need to use the grep and gawk again along with sed but am not really sure. Can someone please help me get started out. Thanks OJ Last edited by ojschubert; Feb 28th, 2005 at 8:13 PM. |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|