Skip to content
Snippets Groups Projects
Commit 94653b91 authored by Richard Hartmann's avatar Richard Hartmann
Browse files

Make parser more robust

parent 85dfe18f
Branches
Tags
No related merge requests found
...@@ -186,7 +186,7 @@ use() { ...@@ -186,7 +186,7 @@ use() {
which() { which() {
for VCSH_REPO_NAME in $(list); do for VCSH_REPO_NAME in $(list); do
for VCSH_FILE in $(get_files); do for VCSH_FILE in $(get_files); do
echo $VCSH_FILE | grep $VCSH_COMMAND_PARAMETER > /dev/null && echo "$VCSH_REPO_NAME: $VCSH_FILE" echo $VCSH_FILE | grep -q "$VCSH_COMMAND_PARAMETER" && echo "$VCSH_REPO_NAME: $VCSH_FILE"
done done
done | sort -u done | sort -u
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment