#! /bin/csh -f # # Filename: public # # Programmer: Br. David Carlson # # Date: March 26, 1994 # # This C shell program gives read permission to everyone for # the file given as the command line parameter. # if ($#argv == 1) then # There should be 1 parameter chmod g+r,o+r "$argv[1]" # Give read permission to group, other else echo "One parameter needed, the name of the file to modify" endif