| 1 |
#! /bin/sh |
| 2 |
# |
| 3 |
# global shell script |
| 4 |
# |
| 5 |
if test $# -gt 2 |
| 6 |
then echo "Usage: $0 [ full_tree_range [ partial_tree_ range ]]" |
| 7 |
exit |
| 8 |
fi |
| 9 |
read first_line |
| 10 |
echo "$first_line G" |
| 11 |
if test $# -eq 1; then echo "G $1" ; fi |
| 12 |
if test $# -eq 2; then echo "G $1 $2" ; fi |
| 13 |
cat - |