This one time, at band camp, [EMAIL PROTECTED] wrote: >Hi All, >I have debian Woody installed, and noticed something a little odd.... >There is two enable commands, one appears to be a bash builtin, and the >other for enabling printers in cups. >lotus-server:~# enable kyocera >bash: enable: kyocera: not a shell builtin >lotus-server:~# /usr/bin/enable kyocera >lotus-server:~# > >Is this right?? I was under the impression you should never have two >different commands with the same name. >The cups documentation mentions nothing about conflicting with the bash >shell enable command - so it took me a while for the first time to work >out while I couldn't enable my printer.
There are a few places that the shell looks for "commands". Check the manpage for details, but before shells look in the PATH for a command, it'll check its alias list, functions, and builtins. To bypass that, you can usually run 'command x', i.e. command enable. But I'd file a bug on cups anyway, and explain that enable is a bash builtin. -- [EMAIL PROTECTED] http://spacepants.org/jaq.gpg -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
