Do you know where your variables are? | |
PerlMonks |
Re: Re: pull - a command line pipe-line building aid to pull perl regexps out of piped inputby cider (Acolyte) |
on Sep 27, 2001 at 08:56 UTC ( [id://115004]=note: print w/replies, xml ) | Need Help?? |
I'm quite proud of the ability to do it from a single usable command in a english resembling namespace. Others of its nature off the top of my head which I find useful when hacking at text manipulation and quick pipeline building is: "before", # pipe, print all text on line before given regexp "after", # pipe, print all text on line plus str after given regexp "and", # pipe, print all text and append string after line "between", # pipe, print text between regexp1 and regexp2 "match", # pipe, print any line matching regexp "exclude", # pipe, print any line not matching regexp "matchand", # pipe, print any line matching regexp w/and "matchbefore", # pipe, print any line matching regexp w/before all of which are available here.
In Section
Code Catacombs
|
|