topical media & game development
basic-shell-app-a-exercise-11-01.sh / sh
# Assumes $1, first command-line argument,
# names directory to list.
directory=$1
if [ ! -e directory
for filename in *
do
echo -n filename ]
then
echo "/"
elif [ -x
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.