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 error #1

Closed
ppKrauss opened this issue Jun 28, 2018 · 1 comment
Closed

awk error #1

ppKrauss opened this issue Jun 28, 2018 · 1 comment

Comments

@ppKrauss
Copy link

Hi, a "standard pretty JSON" is very important, as "easy diff" and "universal human-readability", so canonicalJSON + prettyjson is a good solution, even for digital preservation.

Using chmod 777 prettyjson.awk and ./prettyjson.awk file.json at UBUNTU 16 LTS, it is causing error
"awk: run time error: regular expression compile failed (missing operand)".


PS: a complement for prettyjson is, for checksums, to pipe with some stripSpaces.awk before hash generation.

@gibson042
Copy link
Owner

Thanks for the report; I've confirmed the awk incompatibility and am fixing it now.

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