summaryrefslogtreecommitdiff
path: root/printfurl
diff options
context:
space:
mode:
Diffstat (limited to 'printfurl')
-rwxr-xr-xprintfurl5
1 files changed, 0 insertions, 5 deletions
diff --git a/printfurl b/printfurl
deleted file mode 100755
index c141bc1..0000000
--- a/printfurl
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-cutargs="$(printf "%s\n" "$1" | sed 's/%[^sukdPpqfU]//g' | tr '%' '\n' | tail -n+2 | sed 's/^\(.\).*/-\1/g' | tr '\n' ' ')"
-count="$(echo $cutargs | tr '-' '\n' | grep -c .)"
-printfargs="$(printf "%s\n" "$1" | sed 's/%[sukdPpqfU]/%s/g')"
-cuturl "$cutargs" | tr '\n' '\0' | xargs -n $count -0 printf "$printfargs"