mirror of
https://github.com/hyzendust/command_upload.git
synced 2026-02-15 05:01:16 +01:00
Add: pastebin
This commit is contained in:
9
testpipe.sh
Executable file
9
testpipe.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
echo "START"
|
||||
if ! -t 0; then
|
||||
echo "STDIN is NOT a tty"
|
||||
cat
|
||||
else
|
||||
echo "STDIN *IS* a tty"
|
||||
fi
|
||||
echo "END"
|
||||
Reference in New Issue
Block a user