[comp.os.vms] C command line arguments / GNU C

rbr4@uhura.cc.rochester.edu (Roland Roberts) (10/03/89)

I'm writing a couple of programs in C for general use in our lab.
I've been using typical unix syntax, i.e.,

$ ruthx -e

Where "-e" is one of several switches.  The problem is that another
switch is "-E".  I'm trying to figure out why / where the "-E" gets
munged to "-e".  I can get around it by using quotes as in

$ ruthx "-E"

DCL usually turns everything to uppercase, so can someone explain what
is happening here?

roland


-- 
Roland Roberts,  University of Rochester   BITNET: roberts@uornsrl
  Nuclear Structure Research Lab         INTERNET: rbr4@uhura.cc.rochester.edu
  271 East River Road                        UUCP: rochester!ur-cc!uhura!rbr4
  Rochester, NY  14267                       AT&T: (716) 275-8962