initial script

This commit is contained in:
James Tomasino 2019-01-04 14:39:47 -05:00
commit b502bf78b0
1 changed files with 11 additions and 0 deletions

11
supertoot Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
# is not interactive shell, use stdin
if [ -t 0 ]; then
data="$*"
else
data="$(cat < /dev/stdin )"
fi
toot "$data"
t "$data"