posix friendly
This commit is contained in:
@@ -52,7 +52,7 @@ colWarn=$( _qCol z R )
|
|||||||
|
|
||||||
function fpgrep() {
|
function fpgrep() {
|
||||||
[[ -z $( pgrep -x -u $UID "$@" ) ]] && { echo '----'; return; }
|
[[ -z $( pgrep -x -u $UID "$@" ) ]] && { echo '----'; return; }
|
||||||
pgrep -x -u $UID "$@" | xargs ps -o pid,bsdstart,args
|
pgrep -x -u $UID "$@" | xargs ps -o pid,start,args
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_id() {
|
function get_id() {
|
||||||
|
|||||||
Reference in New Issue
Block a user