FEATURE: Changed awk config command to be more cross platform (#513)
authorSpencer Imbleau <spencer@imbleau.com>
Fri, 8 Jan 2021 00:15:02 +0000 (19:15 -0500)
committerGitHub <noreply@github.com>
Fri, 8 Jan 2021 00:15:02 +0000 (11:15 +1100)
commit06aa4ddb769bf5164758190559378e36303a4a97
tree9e3d61a0ed7ab0fc416c32c7f05dc4daa78c67b7
parent333b879a0889db082741a1ae431612a9fa74cb91
FEATURE: Changed awk config command to be more cross platform (#513)

in Ubuntu 20.04 LTS, pre installed is mawk 1.3.4, which is called when you use awk. In this version, "--field-seperator" is not a valid option, leaving discourse-doctor with many errors.
Described in https://meta.discourse.org/t/discourse-doctor-parsing-smtp-credentials-not-working-admin-registration-email-not-working/174461, this commit aims to use -F as the accepted flag for field separation which is unambiguous across GNU AWK and Ubuntu MAWK.
discourse-doctor