From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14495 invoked by alias); 16 Aug 2015 11:38:32 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 20413 Received: (qmail 29298 invoked from network); 16 Aug 2015 11:38:28 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_00,FSL_HELO_BARE_IP_2, RCVD_NUMERIC_HELO autolearn=no autolearn_force=no version=3.4.0 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@zsh.org From: zzapper Subject: Re: Tip of the day: grep2awk zle function Date: Sun, 16 Aug 2015 11:38:00 +0000 (UTC) Organization: Your Company Message-ID: References: <20150815010157.696d904b@xs4all.nl> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 95.146.95.160 User-Agent: Xnews/2009.05.01 X-Antivirus: avast! (VPS 150815-2, 15/08/2015), Outbound message X-Antivirus-Status: Clean Joep van Delft wrote in news:20150815010157.696d904b@xs4all.nl: > 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