comparison echo.bash @ 17:a3af29edcce2

Uploaded Miller Lab Devshed version a51c894f5bed
author miller-lab
date Fri, 28 Sep 2012 11:57:18 -0400
parents 2c498d40ecde
children
comparison
equal deleted inserted replaced
16:be0e2223c531 17:a3af29edcce2
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