mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated SC2009 (markdown)
@@ -34,7 +34,7 @@ This is more robust than `ps .. | grep python | cut ..` because it does not try
|
|||||||
|
|
||||||
You can [[ignore]] this error if you are trying to match against something that `pgrep` doesn't support:
|
You can [[ignore]] this error if you are trying to match against something that `pgrep` doesn't support:
|
||||||
|
|
||||||
```
|
```sh
|
||||||
# pgrep does not support filtering by 'nice' value
|
# pgrep does not support filtering by 'nice' value
|
||||||
# shellcheck disable=SC2009
|
# shellcheck disable=SC2009
|
||||||
ps -axo nice=,pid= | grep -v '^ 0'
|
ps -axo nice=,pid= | grep -v '^ 0'
|
||||||
|
Reference in New Issue
Block a user