From 43cb7d02d3f6f4880fc92ee2f2982e21e5e58440 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A4r=20Karlsson?= Date: Wed, 19 Nov 2014 23:10:22 +0100 Subject: [PATCH] Added wcat convenience wrapper --- contrib/wcat | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 contrib/wcat diff --git a/contrib/wcat b/contrib/wcat new file mode 100755 index 0000000..3477d88 --- /dev/null +++ b/contrib/wcat @@ -0,0 +1,10 @@ +#!/bin/sh +WGET=`which wget 2>/dev/null` +if [ ! -x "${WGET}" ]; then + echo "No wget executable found in PATH" + exit 127 +fi + +"${WGET}" -q -O - "$@" + +# vim: tabstop=2 shiftwidth=2 -- 2.0.4