![]()
Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch
sh_utils's programmes are replaced),
then expr is more conformed to POSIX.
This gives problems when numbers are entered in
/usr/src/linux/scripts/Configure.
--- scripts/Configure 1997/01/15 16:41:24 1.1
+++ scripts/Configure 1997/01/15 16:42:02
@@ -288,7 +288,7 @@
def=${old:-$3}
while :; do
readln "$1 ($2) [$def] " "$def" "$old"
- if expr "$ans" : '0$\|-?[1-9][0-9]*$' > /dev/null; then
+ if expr "$ans" : '0$\|-\?[1-9][0-9]*$' > /dev/null; then
define_int "$2" "$ans"
break
else
![]()
Keywords: SH-UTILS, SHUTILS, KERNEL, CONFIGURE, POSIX
![]()
Feedback welcome: Send Mail to kfr@suse.de (Please give the following subject: SDB-shutils)
![]()
Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch