source: vendor/bash/3.1-p17/examples/scripts/cat.sh

Last change on this file was 3228, checked in by bird, 18 years ago

bash 3.1

File size: 105 bytes
Line 
1shcat()
2{
3 while read -r ; do
4 echo "$REPLY"
5 done
6}
7
8if [ -n "$1" ]; then
9 shcat < "$1"
10else
11 shcat
12fi
Note: See TracBrowser for help on using the repository browser.