zsh: bad option, bash works
T.C. Hollingsworth
tchollingsworth at gmail.com
Sun Dec 18 13:58:41 UTC 2011
On Sun, Dec 18, 2011 at 6:51 AM, Zind <wzmindlog at gmail.com> wrote:
> hi, all
> Here is my execution result of the 'type -t' command:
> % type -t poweroff
> zsh: bad option: -t
> % bash
> $ type -t poweroff
> file
> $ zsh --version
> zsh 4.3.11 (i686-pc-linux-gnu)
>
> zsh warns 'bad option -t', but bash works fine
> I test it on Ubuntu 11.10 & Fedora 15, but no change.
> Any help or suggestion is appreciated.
'type; is a shell builtin, so it's implemented within zsh and bash,
not as it's own seperate program. The version included with zsh
doesn't support the -t argument, while the version with bash does.
-T.C.
More information about the users
mailing list