HomeFreeBSD

test(1): quote closing bracket in error message

Description

test(1): quote closing bracket in error message

If test is called as [ and one forgets to close the bracket, the error
message is currently
[: missing ]

To make it obvious that this is not something printed in brackets,
quote the closing bracket in the message, which is what everybody else
is doing:
[: missing ']'

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1346

Details

Provenance
tamelingdaniel_gmail.comAuthored on Jul 24 2024, 11:56 AM
impCommitted on Jul 29 2024, 8:08 PM
Parents
rG1d551845f3e8: netstat.1: Clarify -d argument
Branches
Unknown
Tags
Unknown