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    [email protected]    http://cnswww.cns.cwru.edu/~chet/

_______________________________________________
Bug-readline mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to