#!/bin/csh
echo $1 $2 $7
if ( -r $1 ) echo $1 is readable
if ( -w $1 ) echo $1 is writeable
if ( -x $1 ) echo $1 is executable
if ( -o $1 ) echo $1 is owned by us
if ( -z $1 ) echo $1 is length zero
if ( -f $1 ) echo $1 'is a "plain" file'
if ( -d $1 ) echo $1 is a directory
if ( -e $1 ) echo $1 exists
