See following example:

  $ echo $BASH_VERSION
  4.3.18(1)-release
  $ compgen -W 'hello hello' h
  hello
  hello
  $
It'll be good if only one "hello" is outputted.

-clark

Reply via email to