1
0
Fork 0
mirror of synced 2025-03-06 20:53:29 +01:00
bash-shxdumper/examples/scripts/cat.sh
2011-11-21 20:51:19 -05:00

12 lines
114 B
Bash

shcat()
{
while read -r ; do
printf "%s\n" "$REPLY"
done
}
if [ -n "$1" ]; then
shcat < "$1"
else
shcat
fi