Hacker News new | ask | show | jobs
by igor_chubin 2183 days ago
Just use IFS for this

w() { ( IFS=+; curl wttr.in/"$*";); }

1 comments

I love when you can post something simple like a function/alias and learn so many new things. Never seen IFS before. Updated locally and works perfectly!