Add: pastebin

This commit is contained in:
psychhim
2025-12-06 01:45:18 +05:30
parent fca466b68f
commit 42b8d83d8b
2 changed files with 67 additions and 3 deletions

9
testpipe.sh Executable file
View 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"