-
Notifications
You must be signed in to change notification settings - Fork 63
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
crypt.awk is not finished nor documented. #125
Comments
Why |
|
This repository is called "runit init scripts for Void", which portability, exactly, do you mean?
My script doesn't need
|
Awk is well suited to this task. That a newer generation of Unix users find it obscure is unfortunate, but does not mean that this is a weird choice. Being "old" is not, ipso facto, a valid criticism or justification for replacement. Bash is definitely not a suitable replacement here. Not all Void installations built on encrypted filesystems will even have bash installed, but all should have an awk implementation. Using POSIX shell would avoid this issue, but a lot of the core parsing task becomes much more cumbersome in shell. I see no good argument for scrapping the existing crypttab processor in favor of a shell alternative. The best option would be to identify the specific deficiencies of the current parser and rectify them. |
crypt.awk
is old, WIP, no documentation at all.awk
is a weird choice anyway. If abash
solution is appropriate (you said you try to avoid it), I can come up with a pull request, documentation and all. Documentation is asciidoc, if that's a problem.The text was updated successfully, but these errors were encountered: