From owner-freebsd-questions Mon Sep 30 15:02:44 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA19006 for questions-outgoing; Mon, 30 Sep 1996 15:02:44 -0700 (PDT) Received: from alaska.net (root@calvino.alaska.net [206.149.65.3]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA18942 for ; Mon, 30 Sep 1996 15:02:39 -0700 (PDT) Received: from hmmm.alaska.net by alaska.net (5.x/SMI-SVR4) id AA23978; Mon, 30 Sep 1996 14:02:30 -0800 Date: Mon, 30 Sep 1996 22:03:36 +0000 () From: hmmm To: freebsd-questions Subject: Makedev crash Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk ------------------------------------------------------------------------------ /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 ... ------------------------------------------------------------------------------