in reply to Re: Re: Deleting a record from a flat text file
in thread Deleting a record from a flat text file

A few things you might want to consider.

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.

-muoyo
  • Comment on Re: Re: Re: Deleting a record from a flat text file