added remote shell detection

This commit is contained in:
Luke 2023-07-22 11:19:16 -07:00
parent b21b623273
commit 958985df83
2 changed files with 28 additions and 0 deletions

View file

@ -114,3 +114,10 @@ function rv() {
printf ' RV=%d \e[0m\n' $RV >&2
}
function hexy() {
python3 -c 'import sys
for v in sys.argv[1:]:
print("{:02x}".format(int(v)), end="")
print("")
' $*
}