mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-06-21 12:57:58 +02:00
13 lines
114 B
Bash
13 lines
114 B
Bash
shcat()
|
|
{
|
|
while read -r ; do
|
|
printf "%s\n" "$REPLY"
|
|
done
|
|
}
|
|
|
|
if [ -n "$1" ]; then
|
|
shcat < "$1"
|
|
else
|
|
shcat
|
|
fi
|