Debian Codegraph @

scripts/usertree

raw
1 #! /bin/sh
2 #
3 # usertree shell script
4 #
5 # Modified July 14, 1992 to accept phylip_tree prolog fact.
6 #
7 if test $# -lt 1 -o $# -gt 2; then echo "Usage: $0 treefile [ L ]"; exit; fi
8 read first_line
9 echo "$first_line U $2"
10 cat -
11 egrep '((;)|(\)\.))[ ]*$' $1 | wc -l
12 cat $1