bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help builtin bug ???


From: Chet Ramey
Subject: Re: help builtin bug ???
Date: Thu, 20 Jan 2011 11:33:56 -0500
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7

On 1/19/11 7:22 PM, Sławomir Iwanek wrote:
> hello,
> 
> I did something like that:
> 
> $ help *
> 
> and I got all the definitions of builtins starting from the letter 'c'
> that is from 'caller' through 'coproc'.

Presumably because you had a file named `c' in the current directory.

> 
> Well, my goal was - as you probably happen to know it already ;) - to
> see if I could display ALL the builtins defs, but well... I got what I
> got.

Look at `help help':

help: help [-dms] [pattern ...]
    Display information about builtin commands.

    Displays brief summaries of builtin commands.  If PATTERN is
    specified, gives detailed help on all commands matching PATTERN,
    otherwise the list of help topics is printed.

The argument is a pattern.  Supply a pattern that matches what you want
to match, and make sure that `help' sees it as a pattern.

All of these will work:

help '*'
help \*
help ''

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]