GNU bug report logs - #26115
Documentation does not mention underscore (_)

Previous Next

Package: idutils;

Reported by: Jon Wilkes <jonny <at> pluckeye.net>

Date: Wed, 15 Mar 2017 20:46:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Jon Wilkes <jonny <at> pluckeye.net>
To: 26115 <at> debbugs.gnu.org
Subject: bug#26115: Documentation does not mention underscore (_)
Date: Wed, 15 Mar 2017 13:41:03 -0700
Dear idutils,

Current documentation says about your text and perl scanners:

> ... default token constituents are the alpha-numerics ...

But shouldn't that should say

> ... default token constituents are the alpha-numerics plus underscore
> ...

or

> ... default token constituents are [_a-zA-Z0-9] ...

?

For example,

$ echo a_b >a.txt
$ mkid a.txt
$ lid # ...

What I got:

a_b            a.txt

Documents indicate I should get:

a              a.txt
b              a.txt


I like the inclusion of underscore in token constituents.

Thanks,
Jon Wilkes





This bug report was last modified 8 years and 153 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.