Author: Stan Eisenstat
Subject: Re: [Cs323] linux-gnu
Date: Thursday, 22 Oct 2020, 16:11:49
> Message Posted By: Unknown > > Dumb question but in the specs your first example expands $OSTYPE. > However, when I run the staff solution, $OSTYPE is not expanded (as it > seems like OSTYPE is not in env) yet $OSTYPE is expanded on the command > line. Why is this the case? ... > Also, I wrote "$OSTYPE" in the subject line and it got expanded to > "linux-gnu." That's quite funny. Apparently not all shells define the environmental variable OSTYPE. --Stan-PREV INDEX NEXT