projects
/
platform
/
upstream
/
bash.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Bash-4.1 distribution source
[platform/upstream/bash.git]
/
examples
/
scripts
/
cat.sh
1
shcat()
2
{
3
while read -r ; do
4
printf "%s\n" "$REPLY"
5
done
6
}
7
8
if [ -n "$1" ]; then
9
shcat < "$1"
10
else
11
shcat
12
fi