We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
例如,如果有一个repo叫aaa-bbb-ccc,那么,如果再判断ccc是否存在时,会误判存在。
echo "aaa-bbb-ccc" | grep -w aaa-bbb:可以匹配 echo "aaa-bbb-ccc" | grep -Fx aaa:不可匹配
echo "aaa-bbb-ccc" | grep -w aaa-bbb
echo "aaa-bbb-ccc" | grep -Fx aaa
显然,使用-Fx的时候,才能实现正确的完全匹配。
https://github.com/Yikun/hub-mirror-action/blob/master/entrypoint.sh#L158
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
例如,如果有一个repo叫aaa-bbb-ccc,那么,如果再判断ccc是否存在时,会误判存在。
echo "aaa-bbb-ccc" | grep -w aaa-bbb
:可以匹配echo "aaa-bbb-ccc" | grep -Fx aaa
:不可匹配显然,使用-Fx的时候,才能实现正确的完全匹配。
https://github.com/Yikun/hub-mirror-action/blob/master/entrypoint.sh#L158
The text was updated successfully, but these errors were encountered: