Hi, It would be nice for `expr' to use a more useful error message (print the parameters for example) rather than `expr: syntax error'. I spent much time and I do not see why the second expr does not work: #! /bin/bash line='/bin/bash -x' expr "/bin/bash -x" : coucou expr \"$line\" : coucou I use GNU sh-utils 2.0, if needed. Thanks, Eugen -- http://www.ese-metz.fr/~dedu
