Hacker News new | ask | show | jobs
by noxvilleza 1297 days ago
Reminds me of `curl wttr.in` -- although slightly more verbose in some metrics.
1 comments

I had the same thought; this is in my shell RC:

    alias weather='f() { curl wttr.in/${1:-sydney} };f'
Interesting -- why do you define an alias that defines and then immediately calls a function instead of just defining `weather` as the function itself?

         echo yourcity | nc graph.no 79
or

         finger yourcity@graph.no