in reply to Encryption or Search and Replace?
acron5, you should probably investigate the use of regular expressions (s/blah/foo/) or translation operator (tr/1-9/a-i/). The look at looping to see how one can iterate over the contents of an entire file. Then if you read closely about regular expressions and reading data from a file you will realize that you don't need to iterate and can do it all with one regular expression or translation.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Encryption or Search and Replace?
by acron5 (Initiate) on May 16, 2001 at 23:24 UTC |