blob: 3e65b3fc174f4f9a5c5b315c6596d79156067d26 [file] [log] [blame]
Jari Aalto28ef6c32001-04-06 19:14:31 +00001shcat()
2{
3 while read -r ; do
Chet Ramey00018032011-11-21 20:51:19 -05004 printf "%s\n" "$REPLY"
Jari Aalto28ef6c32001-04-06 19:14:31 +00005 done
6}
7
8if [ -n "$1" ]; then
9 shcat < "$1"
10else
11 shcat
12fi