Date: Mon, 30 Sep 1996 22:03:36 +0000 () From: hmmm <hmmm@alaska.net> To: freebsd-questions <questions@freebsd.org> Subject: Makedev crash Message-ID: <Pine.BSF.3.95.960930215914.421A-100000@hmmm.alaska.net>
next in thread | raw e-mail | index | archive | help
------------------------------------------------------------------------------
/dev/MAKEDEV EXTRACT
# Convert the last character of a tty name to a minor number.
ttyminor()
{
case $unit in
[0-9]) m=$unit;;
>ERR> a) m=10;; b) m=11;; c) m=12;; d) m=13;; e) m=14;; f) m=15;; g) m=16;;
h) m=17;; i) m=18;; j) m=19;; k) m=20;; l) m=21;; m) m=22;; n) m=23;;
o) m=24;; p) m=25;; q) m=26;; r) m=27;; s) m=28;; t) m=29;; u) m=30;;
v) m=31;;
*) m="?";;
esac
echo $m
}
------------------------------------------------------------------------------
/etc/shinit EXTRACT (sh shell, profile - ENV=shinit)
alias a="blah blah"
alias h="blah blah"
------------------------------------------------------------------------------
can anyone tell me why alias "a" causes MAKEDEV to crash (where marked)
yet alias "h" doesn't? i'm not too smart when it comes to Makefiles or
substitution priorities ...
------------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.960930215914.421A-100000>
