>>>>> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes:

Alexandre> Geoff Keating has just reported that Solaris'
Alexandre> /usr/ucb/expr, as well as SunOS's /usr/bin/expr, will fail
Alexandre> if the first string is longer than 128 bytes.  We should
Alexandre> probably re-think our use of expr in _AC_SHELL_DIRNAME :-(

I don't observe this:

Last login: Thu Jul 27 10:52:34 2000 from ouranos.epi.net
Sun Microsystems Inc.   SunOS 5.7       Generic October 1998
esmeralda ~ $ which expr
/infres/javert/infpost/demaille/bin/sparc-sun-solaris2.5/expr
esmeralda ~ $ /usr/ucb/expr
expr: syntax error
esmeralda ~ $ sixteen="01234567890ABCDEF"
esmeralda ~ $ sixtyfour="$sixteen$sixteen$sixteen$sixteen"                19:29
esmeralda ~ $ /usr/ucb/expr "$sixtyfour" : ".*\(.\)"                      19:30
F
esmeralda ~ $ /usr/ucb/expr "$sixtyfour$sixtyfour" : ".*\(.\)"            19:30
F
esmeralda ~ $ /usr/ucb/expr "$sixtyfour$sixtyfour$sixtyfour" : ".*\(.\)"  19:30
F
esmeralda ~ $ /usr/ucb/expr "$sixtyfour$sixtyfour$sixtyfour:" : ".*\(.\)" 19:30
:
esmeralda ~ $ /usr/ucb/expr "$sixtyfour$sixtyfour$sixtyfour:$sixtyfour@" : ".*\(.\)"   
                                                                
@
esmeralda ~ $ rlogin ondine                                               19:32
Last login: Thu Jul  6 13:00:33 from esmeralda.enst.f
SunOS Release 4.1.3 (SS10_IPMU3.5) #2: Wed Aug 30 01:26:10 MET DST 1995
ondine ~ $ sixteen="01234567890ABCDEF"                                    14:28
ondine ~ $ sixtyfour="$sixteen$sixteen$sixteen$sixteen"                   14:28
ondine ~ $ /usr/bin/expr "$sixtyfour$sixtyfour$sixtyfour:$sixtyfour@" : ".*\(.\)"      
                   
@


(Yes, there is a slight clock skew somewhere ;)

Reply via email to