[TUHS] Bourne shell and comments
steve at sk2.org
Thu Apr 20 04:36:47 AEST 2017
On Tue, 18 Apr 2017 15:45:36 -0600, Grant Taylor <gtaylor at tnetconsulting.net>
> On 04/18/2017 02:51 PM, Ron Natalie wrote:
> > Was also the label for goto.
> Does that mean that the (so called) comment was really an (unused) label?
Not Unix, but on DOS (on PCs) this was a common trick — it was especially
appreciated because : as a comment prefix (often doubled, so it couldn’t be
mistaken for a goto label) was faster to process than the official REM (which
was a command which had to be executed).
More information about the TUHS