Blue Mountain
Resident Skeptical Hobbit
While the main story is political and quite concerning, I'm posting this in technology due to the apparent ignorance of the Ontario Information and Privacy Commissioner and her staff.
Ford government used code words to make it 'unduly difficult' to search Greenbelt records: report
I have no idea what search software the commissioner and her staff were using, but any search software worth its salt can “quote” wildcards to say “do not treat this as a wildcard but as a character.”
For example, in grep:
Will find for you *any* line where there is a capital G on the line.
However,
Will find only those lines that contain “G*”" or “G**” as a whole word (\b tells grep to take word boundaries into account.)
I usually have faith that government organizations know what they're doing, but to have an entire office not even ask the question “is it possible to search for "G**" without interpreting the asterisks as wildcards?” is disheartening.
Ford government used code words to make it 'unduly difficult' to search Greenbelt records: report
Full story at the CBCCBC said:Political staff were using code words to thwart document requests, says IPC commissioner
Staffers sometimes referred to the Greenbelt project in messages as "special project," or "GB," or "G**," with references to G** being next to impossible to find. Those terms and their inconsistent use made it "unduly difficult" to search for Greenbelt-related records, [Ontario Information and Privacy Commissioner Patricia] Kosseim wrote.
"Worse, the use of the code word "G**" made it virtually impossible to find relevant records, given that the asterisk ("..") is used as a technical wildcard when conducting text searches, returning any word starting with "G," she wrote.
That meant having to forego using the code word "G**" as a search term, so some Greenbelt records may have been missed, Kosseim wrote.
I have no idea what search software the commissioner and her staff were using, but any search software worth its salt can “quote” wildcards to say “do not treat this as a wildcard but as a character.”
For example, in grep:
Code:
grep 'G*' *.txt
However,
Code:
grep -E '\bG\*\*?\b' *.txt
I usually have faith that government organizations know what they're doing, but to have an entire office not even ask the question “is it possible to search for "G**" without interpreting the asterisks as wildcards?” is disheartening.
Last edited: