Can python quickly display results like bash?

Chris Rebert clp2 at rebertia.com
Tue Mar 17 21:52:54 CET 2009


On Tue, Mar 17, 2009 at 12:15 PM, Hrvoje Niksic <hniksic at xemacs.org> wrote:
> Chris Rebert <clp2 at rebertia.com> writes:
>
>> Ah, I should've thought to google for the sh manpage. Locally, man
>> sh just gives me the bash manpage again which doesn't list -x :-(
>
> Are you sure?  On my system the OPTIONS section of bash(1) begins with:
>
>    In addition to the single-character shell options documented in
>    the description of the set builtin command, bash interprets the
>    following options when it is invoked:
> [...]
> set [--abefhkmnptuvxBCHP] [-o option] [arg ...]
> [...]
>    -x   After expanding each simple command, for command, case
>         command, select command, or arithmetic for command, display
>         the expanded value of PS4, followed by the command and its
>         expanded arguments or associated word list.

Ah. This is what I get for using Preview to view manpages. It used
actual unicode hyphens, thus screwing up my search.

Cheers,
Chris

-- 
I have a blog:
http://blog.rebertia.com



More information about the Python-list mailing list