"sed" question
Roger Rohrbach
roger at rtech.UUCP
Sun Nov 17 11:47:40 AEST 1985
> 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
More information about the Comp.unix
mailing list