Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!husc6!sri-unix!sri-spam!mordor!lll-tis!ptsfa!ihnp4!inuxc!iuvax!bsu-cs!dhesi From: dhesi@bsu-cs.UUCP (Rahul Dhesi) Newsgroups: comp.os.vms,comp.lang.c Subject: Yet another bug in VMS C Message-ID: <880@bsu-cs.UUCP> Date: Sat, 25-Jul-87 11:54:37 EDT Article-I.D.: bsu-cs.880 Posted: Sat Jul 25 11:54:37 1987 Date-Received: Sun, 26-Jul-87 02:35:09 EDT Reply-To: dhesi@bsu-cs.UUCP (Rahul Dhesi) Followup-To: comp.os.vms Organization: CS Dept, Ball St U, Muncie, Indiana Lines: 13 Summary: Bizarre case folding Xref: mnetor comp.os.vms:1789 comp.lang.c:3287 I have discovered truly bizarre behavior in C for VAX/VMS. The command-line arguments are folded to all lowercase. The only way of preserving case seems to be to enclose arguments in double quotes. Thus a command like tr a-z A-Z won't work. How does one tell it not to do it? I could find no references to this in the index of the VMS C manual. -- Rahul Dhesi UUCP: {ihnp4,seismo}!{iuvax,pur-ee}!bsu-cs!dhesi