Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site rtech.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!nsc!amdahl!rtech!roger From: roger@rtech.UUCP (Roger Rohrbach) Newsgroups: net.unix Subject: Re: "sed" question Message-ID: <748@rtech.UUCP> Date: Sat, 16-Nov-85 20:47:40 EST Article-I.D.: rtech.748 Posted: Sat Nov 16 20:47:40 1985 Date-Received: Mon, 18-Nov-85 06:25:40 EST References: <1238@wucs.UUCP> Distribution: na Organization: Relational Technology, Alameda CA Lines: 14 > Does anyone know of a way to put comments in a > "sed" script? Failing that, does anyone know that > it is not possible to do so? > (posting in addition to reply) The System V version of "sed" allows the first line of a script to begin with a '#'; the line is treated as a comment. The 4.2 BSD "sed" allows as many such lines as you care to sprinkle throughout your script. Roger Rohrbach {ucb,dec}vax!mtxinu!rtech!roger