diff --git a/qcd_function b/qcd_function index 9e987b0..635a71f 100644 --- a/qcd_function +++ b/qcd_function @@ -205,3 +205,15 @@ function rmv () { fi done } + +function igrep () { + # Interactive grep + local args + args="-i -e value" + while true + do read -e -i "$args" args + echo $@ + grep $args "$@" + done + +}