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 #!/bin/sh -e
# ex - archive extractor # ex - archive extractor
# usage: ex <file> # adapted and improved from the commonly circulating version
# depends: rewrite(in dotfiles) # detects whether unpacking into a subfolder is sensible
# and shows progress indications for some operations
# optdepends: rewrite(in dotfiles)
for arg do for arg do
if test -r "$arg"; then if test -r "$arg"; then
path="$(realpath "$arg")" path="$(realpath "$arg")"