/usr/share/doc/bash/examples/scripts/cat.sh is in bash-doc 4.3-7ubuntu1.7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | shcat()
{
while read -r ; do
printf "%s\n" "$REPLY"
done
}
if [ -n "$1" ]; then
shcat < "$1"
else
shcat
fi
|