|
@ -1,6 +1,6 @@ |
|
|
#!/bin/sh - |
|
|
#!/bin/sh - |
|
|
# |
|
|
# |
|
|
# $OpenBSD: MAKEDEV,v 1.19 1997/04/22 07:43:50 todd Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: MAKEDEV,v 1.20 1997/04/22 19:06:06 todd Exp $ |
|
|
# |
|
|
# |
|
|
# Copyright (c) 1990 The Regents of the University of California. |
|
|
# Copyright (c) 1990 The Regents of the University of California. |
|
|
# All rights reserved. |
|
|
# All rights reserved. |
|
@ -103,7 +103,7 @@ SunOS) add () |
|
|
expr $1 : '[a-z]*\([0-9]*\)[a-p]*' |
|
|
expr $1 : '[a-z]*\([0-9]*\)[a-p]*' |
|
|
} |
|
|
} |
|
|
;; |
|
|
;; |
|
|
OpenBSD) add () |
|
|
|
|
|
|
|
|
*) add () |
|
|
{ |
|
|
{ |
|
|
echo "$(( $1 + $2 ))" |
|
|
echo "$(( $1 + $2 ))" |
|
|
} |
|
|
} |
|
|