zsh: bad option, bash works

Zind wzmindlog at gmail.com
Sun Dec 18 14:51:20 UTC 2011


Thanks a trillion.   :-)

On Sun, Dec 18, 2011 at 9:58 PM, T.C. Hollingsworth <
tchollingsworth at gmail.com> wrote:

> 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.
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20111218/ed881870/attachment.html>


More information about the users mailing list