cvs commit: src/lib/libc/gen vis.3 vis.c

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Oct 31 01:07:42 PST 2003


In message <20031030180850.GB83046 at elvis.mu.org>, Alfred Perlstein writes:
>* Poul-Henning Kamp <phk at FreeBSD.org> [031030 04:42] wrote:
>> phk         2003/10/30 04:41:50 PST
>> 
>>   FreeBSD src repository
>> 
>>   Modified files:
>>     lib/libc/gen         vis.3 vis.c 
>>   Log:
>>   Add '#' to the characters VIS_GLOB encodes.  This fixes a bug in mtree.
>
>Feeling dumb... hash is a glob character?

No, it is a very common comment separator and you can do a lot of harm
to average shell scripts by giving filenames like "  # "

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the cvs-all mailing list