From 000b198e133bc10b94764e96004ba394eb139bea Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Tue, 14 Dec 2021 19:49:33 +0100 Subject: [PATCH] bin/ex: add documentation --- .local/bin/scripts/ex | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.local/bin/scripts/ex b/.local/bin/scripts/ex index 3feff9a..ae89d48 100755 --- a/.local/bin/scripts/ex +++ b/.local/bin/scripts/ex @@ -1,7 +1,9 @@ #!/bin/sh -e # ex - archive extractor -# usage: ex -# depends: rewrite(in dotfiles) +# adapted and improved from the commonly circulating version +# detects whether unpacking into a subfolder is sensible +# and shows progress indications for some operations +# optdepends: rewrite(in dotfiles) for arg do if test -r "$arg"; then path="$(realpath "$arg")"