Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

oh yeah, grep already does this.

  • Loading branch information...
commit c98af3e9c8fee46b99414a748bb5549bd191b9fb 1 parent a90ff82
@jneen authored
Showing with 1 addition and 7 deletions.
  1. +1 −7 lib/util.sh
View
8 lib/util.sh
@@ -12,13 +12,7 @@ exists() {
}
matches() {
- test -n $(
- if [ -n "$1" ]; then
- echo $1; shift
- else
- cat -
- fi | grep "$@"
- )
+ grep "$@" >/dev/null
}
pluralize() {
Please sign in to comment.
Something went wrong with that request. Please try again.