#!/bin/bash ipinfo () { curl https://ipinfo.io/$1 } ipinfo "$@"