Re: ind=`expr index "${string}" is` -----bug

2018-03-18 Thread Pierre Gaston
> From: zangwenkuo > > To: bug-bash@gnu.org > when i use the fun as title (expr) > i got a "expr: syntax error" > > expr is an external tool, and expr is the one giving you an error, so it's not a problem of "bash" The error may be that your "expr" tool is not the gnu version and thus doesn't suppo

ind=`expr index "${string}" is` -----bug

2018-03-18 Thread 理会
Last login: Sun Mar 18 17:56:12 on ttys002 -no-MacBook-puro:~ zangwenkuo$ /Users/zangwenkuo/bash-4.3/bashbug ; exit; From: zangwenkuo To: bug-bash@gnu.org Subject: [50 character or so descriptive subject here (for reference)] Configur