Well, in one way, this is an easy question to answer: function code 9 in
QDOS (output string) uses a terminating dollar sign because CP/M BDOS
function code 9 does , and QDOS was just a CP/M clone. So I guess Gary
really meant that no one knows why BDOS function code 9 requires a
terminating dollar sign.
I had always just assumed it was another DEC-ism in CP/M, of which there are
many. Drives and devices with names of the form "foo:", PIP (peripheral
interchange program), the use of forward slashes for program options, etc.
At any rate, I'd guess it's probably the same reason why $ means end-of-line
in Unix regular expressions.
Joseph S. Barrera III <email@example.com>
Phone, Office: (415) 778-8227; Cellular: (415) 601-3719; Home: (650)
Microsoft Research (BARC), 301 Howard Street, San Francisco, CA 94105-6605
The opinions expressed in this message are my own personal views and do not
reflect the official views of Microsoft Corporation.