Skip to content

Commit

Permalink
search case-insensitively and show color in the output
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanhove committed Oct 11, 2012
1 parent a1a30e0 commit 9209dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gps
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
ps -ewwo "user,pid,ppid,stime,tt,stat,command" | grep -v grep | grep -v gps | grep "\(STIME\|$1\)"
ps -ewwo "user,pid,ppid,stime,tt,stat,command" | grep -v grep | grep -v gps | grep -v stime,tt,stat | grep --color=auto -i "\(STIME\|$1\)"

0 comments on commit 9209dd5

Please sign in to comment.