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

BusyBox’s implementation of Awk does not work #13

Open
KrzysiekJ opened this issue Jun 5, 2018 · 1 comment
Open

BusyBox’s implementation of Awk does not work #13

KrzysiekJ opened this issue Jun 5, 2018 · 1 comment

Comments

@KrzysiekJ
Copy link

Steps to reproduce (using Docker):

docker run -it --rm alpine:3.7

Inside the container:

apk update
apk add git make
git clone https://github.com/nuex/zodiac.git --depth 1
cd zodiac
make install
cd example
make

The error which occurs is:

zod site www
awk: bad regex '{{{yield}}}': Repetition not preceded by valid expression
awk: bad regex '{{{yield}}}': Repetition not preceded by valid expression
awk: bad regex '{{{yield}}}': Repetition not preceded by valid expression

apk add gawk fixes the problem. According to GNU’s manual on Awk implementations, “BusyBox […] includes a full implementation of POSIX awk.”.

@c0dev0id
Copy link

I can't help, but I can tell that zodiak works fine on the posix awk implementations on FreeBSD and OpenBSD. Maybe something is missing in the busybox awk. I don't need gawk here.

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

2 participants