source:
vendor/bash/3.1-p17/examples/scripts/cat.sh
Last change on this file was 3228, checked in by , 18 years ago | |
---|---|
File size: 105 bytes |
Line | |
---|---|
1 | shcat() |
2 | { |
3 | while read -r ; do |
4 | echo "$REPLY" |
5 | done |
6 | } |
7 | |
8 | if [ -n "$1" ]; then |
9 | shcat < "$1" |
10 | else |
11 | shcat |
12 | fi |
Note:
See TracBrowser
for help on using the repository browser.