Mercurial > repo
view bin/metar @ 10546:24f5e2c75966
<moonythedwarf> le//rn rust//Rust is C++, but Python, but Extensible, but Memory safe, but designed by the makers of haskell
author | HackBot |
---|---|
date | Thu, 30 Mar 2017 20:41:12 +0000 |
parents | 631b602f7856 |
children | aa29f6c3a587 |
line wrap: on
line source
#!/bin/bash icao="$(airport "$*" | sed -e "s/.*, //;s/)//" | head -n 1)" echo lambdabot: @metar "${icao:-$1}"