Commit Graph

5 Commits

Author SHA1 Message Date
William Melody 80edd464b6 Use explicit escaping for "\\n" newlines.
Backslash is literal, so explicitly escape it rather than rely on
fallback behavior.

ShellCheck SC1117
https://github.com/koalaman/shellcheck/wiki/SC1117
2018-04-15 14:55:26 -07:00
William Melody 187222614a Use braces in all variable references.
Braces are only required in certain cases, but the cognitive overhead in
keeping track of which cases require braces can be reduced by simply
always using them.

Example: `${NAME}`

Retain more widely-used braces `$NAME` convention in documentation.
2016-02-23 18:14:21 -08:00
William Melody abfd442c3d Add help tests to file.bats. 2016-01-26 19:05:47 -08:00
William Melody 4cf3bc0a63 Test `file` output against `$HOSTS_PATH`. 2016-01-24 21:27:24 -08:00
William Melody ae9c4f0f4b Add tests for `file`. 2016-01-24 21:21:40 -08:00