Mercurial > repo
view bin/metar @ 11299:0fefbdece7f0
<b_jonas> fetch bin/starwars https://hackego.esolangs.org/get/bin/starwars
author | HackBot |
---|---|
date | Tue, 02 Jan 2018 17:00:32 +0000 |
parents | aa29f6c3a587 |
children | 4fcebe1fd761 |
line wrap: on
line source
#!/bin/bash icao="$(airport "$*" | sed -e "s/.*, //;s/)//" | shuf -n 1)" echo lambdabot: @metar "${icao:-$1}"