From 0d6b1deba13390ed289d4c933e0a05da7d031e5e Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 24 Oct 2013 01:07:36 +0200 Subject: [PATCH] lib.sh: Add grep_i(). --- lib.sh | 3 +++ 1 file changed, 3 insertions(+) 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 ... # -- 2.45.2