Skip to content

Commit 77b38db

Browse files
committed
Migrate developer script to list-loaded-launchjob-ids cmd
1 parent f9900d9 commit 77b38db

2 files changed

Lines changed: 12 additions & 26 deletions

File tree

cmd/brew-list-loaded-launchjob-ids

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#: * `list-loaded-launchjob-ids`
2+
#:
3+
#: List IDs for currently loaded launchd jobs. Job IDs attributed to Apple are excluded from the output.
4+
#:
5+
#: Options:
6+
#: -h, --help Show this message.
7+
8+
(/usr/bin/sudo -p 'The system password is required to see all launchd jobs: ' -- /bin/launchctl list && /bin/launchctl list) |
9+
/usr/bin/cut -f3 |
10+
/usr/bin/grep --invert-match '^Label$' |
11+
/usr/bin/grep --invert-match '^com\.apple\.' |
12+
/usr/bin/grep --extended-regexp --invert-match '\.[0-9]+$'

developer/bin/list_loaded_launchjob_ids

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)