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

Add awk to the default Minoca build #136

Open
Tyil opened this issue Oct 13, 2017 · 2 comments
Open

Add awk to the default Minoca build #136

Tyil opened this issue Oct 13, 2017 · 2 comments

Comments

@Tyil
Copy link

Tyil commented Oct 13, 2017

I've been contributing some patches to Sparrowdo. One of these changed their bootstrapping script to be POSIX compliant. This makes supporting Alpine easier, but it has come to my attention that it breaks the script on Minoca.

It seems that Minoca doesn't come with awk on a default installation. As such my request would be to have awk added, in order to improve POSIX compliance.

@evangreen
Copy link
Collaborator

Hi Tyil,
I agree, it would be great to have awk in the default OS.

One of the goals we had with Minoca OS is to have a complete minimal OS in one repository. To that end, we created the "swiss" app, which contained the basic commands for a functional system (sh, cp, mkdir, init, etc). I had originally intended to add awk to swiss, but stopped short mostly because awk looked a little complicated.

If somebody were to volunteer to write awk from scratch and submit it to swiss, I would gladly provide support and reviews. I'm currently a bit short on time to write awk myself.

Alternatively, Sparrow already has some extra dependencies for installation. Perl is obviously one. Perhaps in whatever installation instructions for Sparrow that say "install Perl", we could also say "install awk, too", since awk is in our list of supported third-party packages.

@roytam1
Copy link

roytam1 commented Aug 9, 2021

For a reference, busybox's awk has 2888 lines while it uses libc's regex engine.

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

3 participants