posix friendly
This commit is contained in:
@@ -51,8 +51,8 @@ colMenu=$( _qCol z y )
|
|||||||
colWarn=$( _qCol z R )
|
colWarn=$( _qCol z R )
|
||||||
|
|
||||||
function fpgrep() {
|
function fpgrep() {
|
||||||
pgrep -x -u $UID "$@" | xargs --no-run-if-empty ps -o pid,bsdstart,args;
|
[[ -z $( pgrep -x -u $UID "$@" ) ]] && { echo '----'; return; }
|
||||||
test ${PIPESTATUS[0]} -ne 0 && echo '----'
|
pgrep -x -u $UID "$@" | xargs ps -o pid,bsdstart,args
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_id() {
|
function get_id() {
|
||||||
|
|||||||
Reference in New Issue
Block a user