EchoAngel has asked for the wisdom of the Perl Monks concerning the following question:
i want to delete these files using some code in perl -ne however if my file contains stuff likeapple.c pears.c watermelons.c
i want the perl command line to delete only the watermelon.c file since it has no Errors statements following the file name in the list I hope I made this clearapple.c Errors Errors pears.c Errors Errors Errors watermelon.c
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Want to do One line Perl Command
by Sidhekin (Priest) on Jul 02, 2004 at 20:43 UTC | |
by EchoAngel (Pilgrim) on Jul 02, 2004 at 21:22 UTC | |
by Sidhekin (Priest) on Jul 02, 2004 at 21:29 UTC | |
|
Re: Want to do One line Perl Command
by delirium (Chaplain) on Jul 03, 2004 at 12:23 UTC | |
|
Re: Want to do One line Perl Command
by Neutron Jack (Pilgrim) on Jul 03, 2004 at 19:36 UTC | |
by muba (Priest) on Jul 05, 2004 at 11:08 UTC |