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

awk command needs an extra space #24

Open
DrCocoaPuffs opened this issue Jun 19, 2018 · 0 comments
Open

awk command needs an extra space #24

DrCocoaPuffs opened this issue Jun 19, 2018 · 0 comments

Comments

@DrCocoaPuffs
Copy link

Lines 135, 136 should have a space after -v -- without it on MacOS, awk version 20070501, I get this error: awk: invalid -v option

This is how it should be:

end=awk -v p="${line[0]}" 'BEGIN{printf "%.0f" ,p*1000}'
startnext=awk -v p="${line[1]}" 'BEGIN{printf "%.0f" ,p*1000}'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant