-
-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
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
Fix regex in awk #172
base: master
Are you sure you want to change the base?
Fix regex in awk #172
Conversation
It should be escaped. On some platform it's interpreting as interval
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this one.
bin/list-all
Outdated
@@ -10,7 +10,7 @@ sort_versions() { | |||
versions=$( | |||
git ls-remote --tags https://github.com/php/php-src.git | | |||
grep 'php-' | | |||
awk '!/({})/ {print $2}' | | |||
awk '!/(\{\})/ {print $2}' | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mfandrade recommended this...
awk '!/(\{\})/ {print $2}' | | |
awk '!/\{.*\}/ {print $2}' | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
It should be escaped. On some platform it's interpreting as interval