File: usertrees

package info (click to toggle)
fastdnaml 1.2.2-18
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,156 kB
  • sloc: ansic: 3,910; sh: 571; makefile: 46
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