From: Simon Ruderich Date: Wed, 23 Oct 2013 23:07:36 +0000 (+0200) Subject: lib.sh: Add grep_i(). X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=0d6b1deba13390ed289d4c933e0a05da7d031e5e;p=config%2Fdotfiles.git lib.sh: Add grep_i(). --- diff --git a/lib.sh b/lib.sh index bdb7487..474f638 100644 --- a/lib.sh +++ b/lib.sh @@ -72,6 +72,9 @@ cmd_i() { sed_i() { cmd_i sed "$@" } +grep_i() { + cmd_i grep "$@" +} # Usage: perl_line_filter ... #