Added link to POSIX test(1), added missing verb

Lawrence Velázquez
2024-03-08 21:28:19 -05:00
parent d99321ed3a
commit b63354d214

@@ -18,7 +18,7 @@ expr "$var" : ".*foo[0-9]*" > /dev/null
You are using `=~` in a script declared to be compatible with POSIX sh or Dash.
`=~` is not a POSIX operator and is unlikely to outside `[[ ]]` in Bash and Ksh.
`=~` is [not a POSIX operator](https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html) and is unlikely to work outside `[[ ]]` in Bash and Ksh.
Use `expr`'s `:` operator instead.