Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Tip of the day: grep2awk zle function



Joep van Delft <joepvandelft@xxxxxxxxx> wrote in
news:20150815010157.696d904b@xxxxxxxxx: 

> Hi!
> 
> This summer's side project has resulted in grep2awk.
> 
> grep2awk is a zle function that turns the first grep command in the
> current command line into its awk equivalent, leaving the cursor
> right where you want it.  This operation includes a transformation of
> Basic Regular Expression to Extended Regular Expression. 
> 

> 
> Code, installation instructions, and some details can be found at
> https://github.com/joepvd/grep2awk. 
> 
> Kind regards,
> 
> Joep
> 
Sounds interesting do you have any typical before & after examples?


-- 
zzapper
https://twitter.com/dailyzshtip

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus




Messages sorted by: Reverse Date, Date, Thread, Author