-
Notifications
You must be signed in to change notification settings - Fork 66
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
build issues with gawk on OSX. #197
Comments
An interesting problem. I tried using / the following approaches, without success:
Do you have any suggestions? |
The problem is even more interesting: https://groups.google.com/forum/#!topic/comp.unix.shell/msq-6mTHJRo |
didnt realise the -f option wouldnt work on linux though. perhaps look at some other projects on github and see what they do? |
Awk is hardly the most popular scripting language these days ;-) |
@hydra I tried some more variants of the "polyglot" method, but I had no success passing in command line parameters and gawk options at the same time. Some remaining option might be passing options in a file, through STDIN, or with environment variables. |
Can you use awk instead or do you depend on gawk extensions? |
I think I didn't use any non-POSIX gawk features. By the way, there is an obvious way to approaching the OSX problem. In the makefile's main.ihx target the following sidesteps the shell script problem:
@hydra FYI |
fixes #197 use POSIX awk, don't rely on linux script processor path
gawk isn't in
/usr/bin/gawk
on OSX by default,brew install gawk
installs it tousr/local/bin/gawk
so the scripts don't work.The text was updated successfully, but these errors were encountered: