I had first noticed this problem some time ago. Running eselect, a bash script, always fails with the errors:
`ec_do_list-options': not a valid identifier `ec_do_list-modules': not a valid identifier This is not surprising. In bash, any variable or function should not contain a hyphen because it could be mistaken for the subtraction operator. Indeed, replacing these variables with ec_do_list_options ec_do_list_modules completely fixes the problem and allows eselect to do its job normally. But why has not such an obvious mistake been observed before? Has anyone else executed an unmodified eselect without error? Is there more to this issue than meets the eye? I can't file a bug report on this until I get some confirmation. Frank Peters