dropshell release 2025.0513.2134
Some checks failed
Dropshell Test / Build_and_Test (push) Has been cancelled

This commit is contained in:
Your Name
2025-05-13 21:34:59 +12:00
parent adcb3567d4
commit bd1ad20990
1055 changed files with 168339 additions and 0 deletions

View File

@ -0,0 +1,44 @@
#!/bin/sh
set -e
usage()
{
printf "USAGE:\n\t$0 [-eq|-ne|-lt|-le|-gt|-ge] FILE1 FILE2\n"
}
help()
{
printf "Small utility to compare file sizes without printing them with set -x.\n\n"
usage
}
case "$1" in
-h) help; exit 0 ;;
--help) help; exit 0 ;;
esac
if ! test -f $2; then
printf "FILE1='%b' is not a file\n\n" "$2"
usage
exit 1
fi
if ! test -f $3; then
printf "FILE2='%b' is not a file\n\n" "$3"
usage
exit 1
fi
size1=$(wc -c < $2)
size2=$(wc -c < $3)
case "$1" in
-eq) [ "$size1" -eq "$size2" ] ;;
-ne) [ "$size1" -ne "$size2" ] ;;
-lt) [ "$size1" -lt "$size2" ] ;;
-le) [ "$size1" -le "$size2" ] ;;
-gt) [ "$size1" -gt "$size2" ] ;;
-ge) [ "$size1" -ge "$size2" ] ;;
esac

View File

@ -0,0 +1,3 @@
#!/bin/sh
"$DATAGEN_BIN" $@

View File

@ -0,0 +1,4 @@
#!/bin/sh
println "${*}" 1>&2
exit 1

View File

@ -0,0 +1,2 @@
#!/bin/sh
printf '%b\n' "${*}"

View File

@ -0,0 +1 @@
zstd

View File

@ -0,0 +1,9 @@
#!/bin/sh
zstdname=$(basename $0)
if [ -z "$EXEC_PREFIX" ]; then
"$ZSTD_SYMLINK_DIR/$zstdname" $@
else
$EXEC_PREFIX "$ZSTD_SYMLINK_DIR/$zstdname" $@
fi

View File

@ -0,0 +1 @@
zstd

View File

@ -0,0 +1,2 @@
#!/bin/sh
"$ZSTDGREP_BIN" $@

View File

@ -0,0 +1,2 @@
#!/bin/sh
"$ZSTDLESS_BIN" $@