David Scheidt <dsche...@panix.com> wrote: > ps ax | grep [s]lapd | wc -l > > The [] creates a one-character class that doesn't match the regex.
Doesn't [s]lapd need to be quoted? [] are special to (at least some) shells. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"