|
|
| Think about Loose Coupling | |
| PerlMonks |
Re: Want to do One line Perl Commandby delirium (Chaplain) |
| on Jul 03, 2004 at 08:23 UTC ( [id://371573]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
If we make an assumption that any line that doesn't have a .c file is an error statement... perl -lne '/\.c$/?$h{$l=$_}++:delete$h{$l}}{unlink keys%h' file.txt
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||