From c40953cd1697f0d2ced4d9e0b99523b3f772e20a Mon Sep 17 00:00:00 2001 From: Razvan Azamfirei Date: Fri, 19 Apr 2024 08:27:41 -0400 Subject: [PATCH] list_installed_launchjob_ids: change egrep to grep -E and fix typos --- developer/bin/list_installed_launchjob_ids | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/developer/bin/list_installed_launchjob_ids b/developer/bin/list_installed_launchjob_ids index 82672c2c9ee..333e40a39d4 100755 --- a/developer/bin/list_installed_launchjob_ids +++ b/developer/bin/list_installed_launchjob_ids @@ -37,7 +37,7 @@ merge_sources () { } clean_sources () { - /usr/bin/egrep -v '^com\.apple\.' + /usr/bin/grep -E -v '^com\.apple\.' } mark_up_sources () { @@ -66,15 +66,15 @@ if [[ $1 =~ ^-+h(elp)?$ ]]; then printf "list_installed_launchjob_ids List all installed launchjob IDs, which may be useful -in a Cask uninstall stanza, eg +in a Cask uninstall stanza, e.g.: uninstall launchctl: 'job.id.goes.here' -Launchctl jobs attributed to Apple will be ommitted. +Launchctl jobs attributed to Apple will be omitted. If a launchctl job is currently loaded, and visible to the current user, it will be followed by a plus symbol '(+)' in the output. -This can be verified via the command +This can be verified via the command: /bin/launchctl list 'job.id.goes.here'