If you're going to be using this script often you might want to use a command line argument for your pattern matching, and you might want to save a copy of the file you're editing to avoid any unpleasant errors (like deleting the whole file). Just a thought.
-muoyoIn reply to Re: Re: Re: Deleting a record from a flat text file
by Muoyo
in thread Deleting a record from a flat text file
by mikael-g
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |