Cobra2411 has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (data formatting)
I have a comma-separated data file with three columns, e.g.
I need a script to delete a line based on the first and second field. For example,Fruit,apple,red Sandwich,hamburger,rare Drink,soda,diet
would remove the line, butremoveline.pl comma.file sandwich hamburger
would not.removeline.pl comma.file sandwich soda
Originally posted as a Categorized Question.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How can I find and delete a line from a file?⭐
by perlmonkey (Hermit) on May 24, 2000 at 09:51 UTC | |
by mpd (Monk) on Aug 30, 2003 at 05:20 UTC | |
Re: How can I find and delete a line from a file?
by questor (Acolyte) on May 26, 2000 at 22:03 UTC | |
by slvrstn (Initiate) on Oct 28, 2008 at 02:00 UTC | |
Re: How can I find and delete a line from a file?
by dimar (Curate) on Nov 13, 2004 at 03:50 UTC | |
| |
Re: How can I find and delete a line from a file?
by tempster09 (Initiate) on Mar 27, 2010 at 20:05 UTC |
Back to
Seekers of Perl Wisdom