#!/bin/sh if [ -n "$2" ]; then curl "$2.rate.sx/$1" else curl "rate.sx/$1" fi