list_installed_launchjob_ids: change egrep to grep -E and fix typos

This commit is contained in:
Razvan Azamfirei 2024-04-19 08:27:41 -04:00
parent 1f1003545f
commit c40953cd16
No known key found for this signature in database
1 changed files with 4 additions and 4 deletions

View File

@ -37,7 +37,7 @@ merge_sources () {
} }
clean_sources () { clean_sources () {
/usr/bin/egrep -v '^com\.apple\.' /usr/bin/grep -E -v '^com\.apple\.'
} }
mark_up_sources () { mark_up_sources () {
@ -66,15 +66,15 @@ if [[ $1 =~ ^-+h(elp)?$ ]]; then
printf "list_installed_launchjob_ids printf "list_installed_launchjob_ids
List all installed launchjob IDs, which may be useful 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' 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 If a launchctl job is currently loaded, and visible to the current
user, it will be followed by a plus symbol '(+)' in the output. 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' /bin/launchctl list 'job.id.goes.here'