PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs323] prefix question
Date: Thursday, 22 Oct 2020, 20:45:53


    > Message Posted By: Unknown
    >
    > Let's say that APP=hi is an environment variable and so is APPLE=hello.
    >
    > Then why does
    > (1)$ $APPLE
    > >> hello
    >  occur instead of
    > (1)$ $APPLE
    > >> hiLE

Because as stated in the specification

  * NAME is a MAXIMAL sequence of one or more alphanumeric or _ characters that
    begins with an alphabetic or _ character;

(emphasis added).

--Stan-
PREV INDEX NEXT