diff options
author | P. J. McDermott <pjm@nac.net> | 2012-09-29 00:08:02 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-09-29 00:08:02 (EDT) |
commit | 95fa5c380baad9933e3528f8099392c7742a2b79 (patch) | |
tree | cb0a2a076dc9f69f3c2a640f38c1fcd38248738d | |
parent | ca03f55a23994a5f5328e5c2cd5f8337c05a24df (diff) |
Suppress output of grep in validation functions.
-rw-r--r-- | lib/metadata/proteanos.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/metadata/proteanos.sh b/lib/metadata/proteanos.sh index 11dd603..cc8f5b4 100644 --- a/lib/metadata/proteanos.sh +++ b/lib/metadata/proteanos.sh @@ -28,7 +28,8 @@ _ob_validate_source_name_proteanos() _obvsnpro_name="${1}" - echo "${_obvsnpro_name}" | grep -E "${_OB_NAME_RE_PROTEANOS}" + echo "${_obvsnpro_name}" | grep -E "${_OB_NAME_RE_PROTEANOS}" \ + >/dev/null 2>&1 _ob_return ${?} return ${?} @@ -40,7 +41,8 @@ _ob_validate_binary_name_proteanos() _obvbnpro_name="${1}" - echo "${_obvbnpro_name}" | grep -E "${_OB_NAME_RE_PROTEANOS}" + echo "${_obvbnpro_name}" | grep -E "${_OB_NAME_RE_PROTEANOS}" \ + >/dev/null 2>&1 _ob_return ${?} return ${?} |