#!/bin/sh # title # # Shane Celis if [ $# -eq 0 ] || [ "$1" == "-h" ]; then echo "usage: title " >&2 echo "sets the title for the terminal window" >&2 exit 2; fi title="$@"; echo -n "]0;$title"