bin/ex: add documentation

This commit is contained in:
xeruf 2021-12-14 19:49:33 +01:00
parent 927a0b1f13
commit 000b198e13
1 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,9 @@
#!/bin/sh -e
# ex - archive extractor
# usage: ex <file>
# 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")"