diff options
| author | epoch <epoch@hacking.allowed.org> | 2019-04-20 05:32:27 -0500 | 
|---|---|---|
| committer | epoch <epoch@hacking.allowed.org> | 2019-04-20 05:32:27 -0500 | 
| commit | 6f402e2d2f052972886712f60d592684c8671982 (patch) | |
| tree | 47a09324bd3c5e577ec5b7059bd6c8834bead115 /printfurl | |
| parent | d42135919f480c8bba4ca1f043fbabf44dac708f (diff) | |
| download | uritools-6f402e2d2f052972886712f60d592684c8671982.tar.gz uritools-6f402e2d2f052972886712f60d592684c8671982.zip | |
rebased on an old copy of this repo. renamed everything. rewrote the uri parser. added uricmp. wew.
Diffstat (limited to 'printfurl')
| -rwxr-xr-x | printfurl | 5 | 
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" | 
