#!/bin/sh if [ "$#" -eq 1 ] ; then cat "$1/description" elif [ "$#" -eq 2 ] ; then echo $2 > "$1/description" else echo "usage: ${0} []" fi