Mercurial > repo
view bin/makelist @ 11649:dc989cb6091e draft
<shachaf> mkx bin/detar//echo "https://en.allmetsat.com/metar-taf/north-america.php?icao=$1"
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sat, 17 Nov 2018 03:00:43 +0000 |
parents | ed0a4712257a |
children | a7268c15a964 |
line wrap: on
line source
if [[ "$1" == *" "* ]]; then exec makelist $@; fi; name="$1"; file="bin/$name"; makelistlist "$name"; shift; cp bin/emptylist "$file"; for n in "$@"; do echo "$n" >> "$file"; done