![]() |
|
|
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 |
| Flat File column manipulation | net | Shell Programming and Scripting | 5 | 03-05-2009 03:14 AM |
| compare XML/flat file with UNIX file system structure | shafi2all | High Level Programming | 6 | 08-15-2008 03:15 AM |
| Flat file manipulation, (this could be a tough one) | mrbungle50 | Shell Programming and Scripting | 2 | 01-10-2008 04:46 AM |
| Help with a flat file!!! | kumarsaravana_s | Shell Programming and Scripting | 3 | 04-16-2007 08:58 AM |
| XML to flat file | balireddy_77 | Shell Programming and Scripting | 2 | 04-13-2007 06:57 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Flat file manipulation
Hi I have flat file with 100 records ,I need to fabricate data into flat file . ex: Code:
file.txt 102345 1000 200 300 ............................... .............................. 102346 2000 300 4000 In above file the 4th row, 1 st column valu to be increment by 1 and rest of the values are same for 1000 lines. 102347 2000 300 4000 102348 2000 300 4000 Thanks in advance MR Last edited by vbe; 05-27-2009 at 12:04 PM.. |
|
||||
|
Hi I tried that only giving 4 recordss,I want first column to be incremente by 1 . Code:
file.txt 102345 1000 200 300 ............................... .............................. 102346 2000 300 4000 I am expecting o/p like this file.txt 102345 1000 200 300 102346 200 300 400 102347 200 300 400 102348 200 300 400 102349 200 300 400 ............................. .............................. 102400 200 300 400 Thank in advance MR |
|
|||||
|
|
||||
|
sorry for not explained properly,I want to increment 1st column (102345) and rest of the columns are same Code:
102345 1000 200 300 102346 200 300 400 102347 200 300 400 102348 200 300 400 102349 200 300 400 ............................. .............................. 102400 200 300 400 Thanks in advance MR |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|