From 1fc232a3890dd2dfdbaab9034bb07f0a99d6bca4 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Thu, 8 Dec 1994 00:44:55 +0000 Subject: [PATCH] Fix wrong regexps --- etc/MAKEDEV | 8 ++++---- etc/etc.i386/MAKEDEV | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/etc/MAKEDEV b/etc/MAKEDEV index df8672a84402..fda819c088b5 100644 --- a/etc/MAKEDEV +++ b/etc/MAKEDEV @@ -70,7 +70,7 @@ # socksys iBCS2 socket system driver # vat VAT compatibility audio driver (requires snd*) # -# $Id: MAKEDEV,v 1.57 1994/12/06 19:50:17 bde Exp $ +# $Id: MAKEDEV,v 1.58 1994/12/06 23:06:10 ache Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin: @@ -470,7 +470,7 @@ speaker) cuaa?|cua?) umask 7 - unit=`expr $i : 'cua*\(.\)$'` + unit=`expr $i : 'cua.*\(.\)$'` rm -f cua*a$unit m=`ttyminor $unit` mknod cuaa$unit c 28 `expr $m + 128` @@ -481,7 +481,7 @@ cuaa?|cua?) ;; ttyd?|tty?) - unit=`expr $i : 'tty*\(.\)$'` + unit=`expr $i : 'tty.*\(.\)$'` rm -f tty*d$unit m=`ttyminor $unit` mknod ttyd$unit c 28 $m @@ -506,7 +506,7 @@ psm*) ;; mouse*) - name=`expr $i : 'mouse-\(.*\)'` + name=`expr $i : 'mouse\(.*\)'` if [ ! -c $name ]; then $0 $name # make the appropriate device fi diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV index df8672a84402..fda819c088b5 100644 --- a/etc/etc.i386/MAKEDEV +++ b/etc/etc.i386/MAKEDEV @@ -70,7 +70,7 @@ # socksys iBCS2 socket system driver # vat VAT compatibility audio driver (requires snd*) # -# $Id: MAKEDEV,v 1.57 1994/12/06 19:50:17 bde Exp $ +# $Id: MAKEDEV,v 1.58 1994/12/06 23:06:10 ache Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin: @@ -470,7 +470,7 @@ speaker) cuaa?|cua?) umask 7 - unit=`expr $i : 'cua*\(.\)$'` + unit=`expr $i : 'cua.*\(.\)$'` rm -f cua*a$unit m=`ttyminor $unit` mknod cuaa$unit c 28 `expr $m + 128` @@ -481,7 +481,7 @@ cuaa?|cua?) ;; ttyd?|tty?) - unit=`expr $i : 'tty*\(.\)$'` + unit=`expr $i : 'tty.*\(.\)$'` rm -f tty*d$unit m=`ttyminor $unit` mknod ttyd$unit c 28 $m @@ -506,7 +506,7 @@ psm*) ;; mouse*) - name=`expr $i : 'mouse-\(.*\)'` + name=`expr $i : 'mouse\(.*\)'` if [ ! -c $name ]; then $0 $name # make the appropriate device fi