From: utzoo!decvax!genrad!linus!allegra!eagle!mhtsa!alice!npoiv!houxm!pgf Newsgroups: net.unix-wizards Title: Unadvertised sh(1) feature? Article-I.D.: houxm.400 Posted: Wed May 11 14:18:49 1983 Received: Fri May 13 08:12:40 1983 Relay-Version:version B 3/9/83; site alice.UUCP Message-ID:<400@houxm.UUCP> Date:Wed, 11-May-83 14:18:49 EDT A while ago I found this tidbit in the function "inout()" (which processes the IO redirection syntax) in cmd.c in the Bourne shell: case '<': IF (c=nextc(0))=='&' THEN iof |= IOMOV; ELIF c=='>' /* <> is open for read and write */ /* unadvertised feature */ THEN iof |= IORDW; ELSE peekc=c|MARK; FI break; If this is an unadvertised feature, is it useful? What meaning, for instance, would the following command have? : a.out <> data.file Just curious. Paul Fox houxm!pgf