#!/bin/bash space="$(expr $(tput cols) - $(echo $*|wc -c) - 1)" until [ "$space" = "0" ];do echo -n " " let space-=1 done echo "$*" exit 0