Hacker News new | ask | show | jobs
by dredmorbius 2182 days ago
Make it a shell function and you can parameterise invocation.

    weather () 
    { 
        curl http://wttr.in/${1:-LAX}
    }