![]() |
|
|
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 |
| urgent help : want to check data in oracle from flate file | unknown123 | Shell Programming and Scripting | 3 | 05-18-2009 06:36 PM |
| how to convert the result of the select query to comma seperated data - urgent pls | Hemamalini | Shell Programming and Scripting | 1 | 06-16-2008 05:27 AM |
| formatting hard drive (scrubbing) | Jamiee | SUN Solaris | 0 | 06-12-2008 08:48 AM |
| Help replacing or scrubbing unicode characters | roninuta | Shell Programming and Scripting | 3 | 01-21-2008 11:39 AM |
| [urgent need help]compare data | bucci | Shell Programming and Scripting | 2 | 02-27-2007 11:27 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi All,
I have a Flatfile (any delimitation) of millions of lines of data, where in i have to scrubb the data of the line from the position ($1 ) given in input parameter until the length ($2) given in the input parameter. I utilised awk , sed but i am unable to do it. scrub key - 12345 should be replaced by 67890 eg: 01289 - before scrubbing 06789 - after scrubbing example : sample.ksh 6 4 Input - Flatfile: ------- "1234,5678,0987,12345667,000000976655,+1234,013994878356" "0987,23467,11243554,0000887651,1234567,09876,1234455" "0987675,1223443,797784784784,09866545,+232322,097865" I want the output as scrubbed file as below: "1234,0678,0987,12345667,000000976655,+1234,013994878356" "0987,78967,11243554,0000887651,1234567,09876,1234455" "0987675,6778443,797784784784,09866545,+232322,097865" |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|