view echo.bash @ 2:41ef7e57c2fa

data -> galaxy.datatypes.data
author Richard Burhans <burhans@bx.psu.edu>
date Mon, 09 Apr 2012 15:27:28 -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