File: usertrees

package info (click to toggle)
fastdnaml 1.2.1-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 516 kB
  • ctags: 379
  • sloc: ansic: 4,171; sh: 570; makefile: 64
file content (12 lines) | stat: -rw-r--r-- 270 bytes parent folder | download | duplicates (22)
1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/sh
#
# usertree shell script
#
#  Modified July 14, 1992 to accept phylip_tree prolog fact.
#
if test $# -lt 1 -o $# -gt 2; then echo "Usage: $0 treefile [ L ]"; exit; fi
read first_line
echo "$first_line U $2"
cat -
egrep '((;)|(\)\.))[ 	]*$' $1 | wc -l
cat $1