Need help with tcsh script!!!!
I have to write a script for class and i can't figure it out, please help me!!!
1. write a tcsh script called whatkind, that:
a)prints "not a file or directory", if the first argument is not a regular file or directory.
b)prints "it is a file", if the first argument is a regular file
c) prints "it is a directory", if the first argument is directory
2. create a tcsh script called whatkinds, that builds on the script from the last exercise and is capable of determining the type of as many arguments as it is given