comparison echo.bash @ 0:c3ba43704319 draft default tip

Uploaded
author rico
date Wed, 12 Sep 2012 14:35:13 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:c3ba43704319
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