Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/bin/sh



Module Name:    src
Committed By:   kre
Date:           Fri Jul 20 22:47:26 UTC 2018

Modified Files:
        src/bin/sh: expand.c parser.c syntax.c

Log Message:
First pass at fixing some of the more arcane pattern matching
possibilities that we do not currently handle all that well.

This mostly means (for now) making sure that quoted pattern
magic characters (as well as quoted sh syntax magic chars)
are properly marked, so they remain known as being quoted,
and do not turn into pattern magic.   Also, make sure that an
unquoted \ in a pattern always quotes whatever comes next
(which, unlike in regular expressions, includes inside []
matches),


To generate a diff of this commit:
cvs rdiff -u -r1.123 -r1.124 src/bin/sh/expand.c
cvs rdiff -u -r1.147 -r1.148 src/bin/sh/parser.c
cvs rdiff -u -r1.5 -r1.6 src/bin/sh/syntax.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index