Shell version of tat that handles periods