Vladimir N. Oleynik пишет:
$ echo "${*%b}" ab bb bc but need: a b bc
Interesting moment: bash/ksh produde "a b bc" always, but zsh produce more funny and like for me: $ echo ${*%b} a b bc $ echo "${*%b}" ab bb bc $ echo "${*%c}" ab bb b but a knotty logic also: $ echo "${*#a}" ab bb bc $ echo ${*#a} b bb bc ohhh --w vodz