Skip to content

Commit

Permalink
grep -E not working using quotes
Browse files Browse the repository at this point in the history
Signed-off-by: Feny Mehta <[email protected]>
  • Loading branch information
fbm3307 committed Jan 31, 2025
1 parent 8766755 commit 5faf06d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/verify-replace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ if [ ${#ERROR_REPO_LIST[@]} -ne 0 ]; then
for std_out_file_name in ${STD_OUT_FILE_LIST[*]}
do
if [[ ${std_out_file_name} =~ ${error_repo_name} ]]; then
cat "${std_out_file_name}" | grep -E ${GO_LINT_REGEX}|${ERROR_REGEX}
cat "${std_out_file_name}" | grep "${GO_LINT_REGEX}\|${ERROR_REGEX}"
fi
done
done
Expand Down

0 comments on commit 5faf06d

Please sign in to comment.