comparison echo.bash @ 12:4b6590dd7250

Uploaded
author miller-lab
date Wed, 12 Sep 2012 17:10:26 -0400
parents 2c498d40ecde
children
comparison
equal deleted inserted replaced
11:d4ec09e8079f 12:4b6590dd7250
1 #!/usr/bin/env bash
2
3 if [ $# -lt 3 ]; then
4 echo "usage"
5 exit 1
6 fi
7
8 input="$1"
9 output="$2"
10 shift 2
11
12 for individual in "$@"; do
13 echo "$individual" >> "$output"
14 done
15
16 exit 0
17