CS/CE 218 Quiz #6 September 27, 1991 Name: TA: For all of the following, assume that the PATH variable is defined (as usual) as ``:/bin:/usr/bin:/usr/contrib/bin:/usr/local/bin''. 1. Write a shell script, upcase, that writes each of its command line arguments to standard output, with lowercase letters translated to upper case. For example: $ upcase shell programming is fun SHELL PROGRAMMING IS FUN $ echo $? 0 $ upcase $ echo $? 0 $ upcase 1 HIGHlow 1 HIGHLOW $ 2. Write a shell script, nonc, that writes to standard output the names of all files in the current working directory not named *.c. For example: $ ls Makefile bar foo.c junk junk.c my-directory $ nonc Makefile bar junk $ echo $? 0