Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: use of "build.sh -B BUILDID".... with patch and more questions
"Greg A. Woods" <woods%planix.ca@localhost> writes:
> I already noted the lack of character classes in the pdksh derivatives,
Indeed. And if you lean in a direction where you need to support
older shells, character classes should be avoided.
OTOH, using character classes lets you take advantage of
character set handling in modern shells such as bash and zsh.
For iso-8859-? or Unicode character sets, the [:space:]
character class also covers codepoint 0xA0, non-breaking space.
So if your input data contains leading or trailing space that
includes a non-breaking space, you can have the white space
trimming expressions treat such characters as you would
(probably) expect. Pros and cons.
-jarle
--
"The only time the word incorrectly isn't spelled incorrectly is when it's
spelled incorrectly." -DeusExNoctis
Home |
Main Index |
Thread Index |
Old Index