Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ucf-cs.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!houxz!vax135!cornell!uw-beaver!tektronix!hplabs!sdcrdcf!sdcsvax!akgua!mcnc!duke!ucf-cs!goldfarb From: goldfarb@ucf-cs.UUCP (Ben Goldfarb Esq.) Newsgroups: net.unix-wizards Subject: Re: /bin/sh feature? Message-ID: <1370@ucf-cs.UUCP> Date: Mon, 9-Jul-84 09:49:51 EDT Article-I.D.: ucf-cs.1370 Posted: Mon Jul 9 09:49:51 1984 Date-Received: Thu, 12-Jul-84 03:26:03 EDT References: <274@uvm-cs.UUCP> Organization: University of Central Florida Lines: 11 This points out the hazard of using ':' for a comment delimiter instead of '#'. The shell DOES interpret special characters like quotes and parentheses after the ':', whereas everything on a line after a '#' is ignored (at least on 4.1bsd systems). Thus, in your example the apostrophe is taken as the start of a quoted literal which never ends. I've seen similar problems here and so I advise my shell programmers to use '#' as the comment delimiter. I'd be interested in hearing whether this is indeed a bug or feature. Ben Goldfarb {duke,decvax,princeton}!ucf-cs!goldfarb