![]() |
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 |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Replace characters in a string using their ascii value | roops | Shell Programming and Scripting | 2 | 03-04-2005 01:51 AM |
| text files, ASCII files, binary files and ftp transfers | Perderabo | Answers to Frequently Asked Questions | 0 | 04-08-2004 05:25 PM |
| open ASCII files | Wing m. Cheng | High Level Programming | 2 | 10-27-2001 04:12 PM |
| ASCII Files | yialousa | UNIX for Dummies Questions & Answers | 1 | 08-09-2001 08:27 AM |
| How can I ... (Modifying large ASCII files) | hviktor | UNIX for Dummies Questions & Answers | 2 | 07-20-2001 11:28 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
We need to scramble data in a number of ASCII files. Some of these files are extremely large (1.2 GB). By scrambling, I mean that we need to substitute certain strings, which number around 400, with scrambled strings. An example has been given below
If "London" occurs in the file, then it needs to be substituted by "X1" If "Frankfurt" occurs in the file, then it needs to be substituted by "X2". We have written a Korn shell script, but there are huge performance problems as we need to check for 400 different strings. What is the best way of doing this ?. The machine is HP-UX B.11.00 E 9000/800. The solution suggested by Perderabo works................... ...............like LIGHTNING. Thanks a lot for the help. Last edited by SanjivNagraj; 07-04-2002 at 07:52 AM.. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|