Newsgroups: comp.unix.shell Path: utzoo!telly!eci386!jmm From: jmm@eci386.uucp (John Macdonald) Subject: Re: "Modern" sh (was Math routines) Message-ID: <1990Sep4.135523.29189@eci386.uucp> Reply-To: jmm@eci386.UUCP (John Macdonald) Organization: Elegant Communications Inc. References: <4011@auspex.auspex.com> Date: Tue, 4 Sep 90 13:55:23 GMT In article <4011@auspex.auspex.com> guy@auspex.auspex.com (Guy Harris) writes: |>It depends on when the last time you installed the system. If it was |>1979 or such, then your shell probably doesn't understand # comments |>(I don't remember whether it was in the v7 shell, or not). | |"#" comments weren't in the V7 shell. They are the 4.2BSD shell, and |later BSD shells, and I think they were in the 4.1BSD shell as well; |Berkeley added "#" comments to their otherwise V7-based shell. SCO (or Microsoft) supported "#" comments in System III, I don't recall whether it did in V7. -- Algol 60 was an improvment on most | John Macdonald of its successors - C.A.R. Hoare | jmm@eci386