]> gitweb.michael.orlitzky.com - nagios-mode.git/commit
utils/parse_object_definitions: miscellaneous cleanups.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 11 Nov 2022 20:03:13 +0000 (15:03 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 11 Nov 2022 21:19:54 +0000 (16:19 -0500)
commitaf5407aaaf8e595e76c4713872e5a9d3e5027122
treee35d34073ad706f41519b450afaa48b1a9ee0f23
parent1d36acba5a0a6791560112487aac891a40fbc1e6
utils/parse_object_definitions: miscellaneous cleanups.

  1. Use /bin/sh instead of /bin/bash
  2. Use basic (non-extended) regular expressions with grep
  3. Use plain "grep" instead of "grep --extended-regexp --color=never"
  4. Write the result to stdout; drop the second CLI argument
utils/parse_object_definitions