[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-readline] Comments in inputrc
From: |
Chet Ramey |
Subject: |
Re: [Bug-readline] Comments in inputrc |
Date: |
Sat, 18 Sep 2010 17:57:39 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2 |
On 9/18/10 5:36 PM, Andre Majorel wrote:
> readline(1) says, in .SH INITIALIZATION FILE,
>
> Lines beginning with a # are comments.
>
> This suggests that "#" only starts a comment when at the
> beginning of a line. But as far as I can see,
>
> "abc": "xyz" # foo
>
> is equivalent to
>
> "abc": "xyz"
>
> If that is the case, perhaps the man page should say "a # at the
> beginning of a line or following non-quoted white space marks
> the beginning of a comment" or some such.
Actually, any additional input on the line past the quoted string that
forms the body of the macro is ignored, not just comments.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/