view echo.bash @ 28:184d14e4270d

Update to Miller Lab devshed revision 4ede22dd5500
author Richard Burhans <burhans@bx.psu.edu>
date Wed, 17 Jul 2013 12:46:46 -0400
parents 2c498d40ecde
children
line wrap: on
line source

#!/usr/bin/env bash

if [ $# -lt 3 ]; then
    echo "usage"
    exit 1
fi

input="$1"
output="$2"
shift 2

for individual in "$@"; do
    echo "$individual" >> "$output"
done

exit 0