Re: use of "build.sh -B BUILDID".... with patch and more questions
Jarle Greipsland <[email protected]> Tue, 09 Dec 2025 11:14:46 +0100 (CET)
| Newsgroups | gmane.os.netbsd.current,gmane.os.netbsd.devel.toolchain |
|---|---|
| Message-ID | <[email protected]> |
"Greg A. Woods" <[email protected]> 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