#! /bin/csh -f # # Filename: removex # # Programmer: Br. David Carlson # # Date: March 26, 1994 # # This C shell program removes the "execute" permission from # the file given as the command line parameter. # if ($#argv == 1) then # Number of parameters should be 1 chmod a-x "$1" # Remove execute mode on this file for all else echo "One parameter needed, the name of the file to modify" endif