add helper. e:g how_in bash print an array

This commit is contained in:
Morgan Wattiez 2019-08-17 16:03:44 +02:00
parent e8f90534a8
commit 23f57a4a72

View File

@ -120,3 +120,7 @@ function mouse() {
function meteo() { function meteo() {
curl "fr.wttr.in/$*" curl "fr.wttr.in/$*"
} }
function how_in() {
where="$1"; shift
IFS=+ curl "https://cht.sh/$where/$*"
}