Skip to content
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 syntax #34760

Closed
wants to merge 1 commit into from
Closed

Fix syntax #34760

wants to merge 1 commit into from

Conversation

zakariaGatter
Copy link

get rid of extra prosses 'cat' and use builtin bash commands fix some bash syntax (using sh syntax in a bash script)

get rid of extra prosses 'cat' and use builtin bash commands fix some bash syntax (using sh syntax in a bash script)
Copy link
Member

@sgn sgn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, I don't like this change.

Comment on lines -12 to +14
cat << _EOF
while read ; do
printf "%s\n" "$REPLY"
done <<- _EOF
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cat is fine here, beside a short and rare usage of usage, cat is easier to reason about.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why using something outside bash if it have the solution

@Chocimier
Copy link
Member

Nothing's broken, those are just style adjustments.

@Chocimier Chocimier closed this Dec 30, 2021
@zakariaGatter
Copy link
Author

Nothing's broken, those are just style adjustments.

that what i said on my pull request description

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants