From 2863ed85e74edaff40aef16d0e91c98e430c1060 Mon Sep 17 00:00:00 2001 From: epochqwert Date: Tue, 12 May 2015 03:34:00 -0500 Subject: added a really slow shell implementation of grepurl. fixed cuturl when no arguments were given. would eat argv[0] as an argument. :/ --- nocompile/bin/grepurl | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 nocompile/bin/grepurl (limited to 'nocompile/bin/grepurl') 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 -- cgit v1.2.3