ref: 1018d7a7091fd5e0433f501a3474cdc3fec322cc
parent: f4073e526fab1fb2032ffd72a54d7896d9e1615e
author: henesy <unknown>
date: Sun Sep 27 17:47:05 EDT 2020
add g(1) ;; make gr(1) call g(1)
--- /dev/null
+++ b/dis/g
@@ -1,0 +1,3 @@
+#!/dis/sh
+
+grep -n $* /dev/null
--- a/dis/gr
+++ b/dis/gr
@@ -1,5 +1,5 @@
#!/dis/sh
-# gr - recursive grep(1)
+# gr - recursive g(1)
load expr
load std
@@ -41,4 +41,4 @@
n = ${expr $n 1 +}
}
-grep $opts -n $pattern `{findfiles $dirs}
+g $opts $pattern `{findfiles $dirs}