summaryrefslogtreecommitdiff
path: root/nocompile/bin/grepurl
diff options
context:
space:
mode:
Diffstat (limited to 'nocompile/bin/grepurl')
-rwxr-xr-xnocompile/bin/grepurl4
1 files changed, 4 insertions, 0 deletions
diff --git a/nocompile/bin/grepurl b/nocompile/bin/grepurl
new file mode 100755
index 0000000..50dc516
--- /dev/null
+++ b/nocompile/bin/grepurl
@@ -0,0 +1,4 @@
+#!/bin/sh
+while read URL;do
+ printf "%s" "$URL" | cuturl "$1" | grep "$2" >/dev/null && echo $URL
+done