diff options
author | Assaf Gordon <assafgordon@gmail.com> | 2018-12-27 22:36:08 -0700 |
---|---|---|
committer | Assaf Gordon <assafgordon@gmail.com> | 2018-12-27 23:46:02 -0700 |
commit | 2f438fa9f53250fb3c8b39a95eedd627b5569ca4 (patch) | |
tree | a5e3dd66f07f768d667ad6412e3235e440eb37fc /scripts | |
parent | 21c59d68455e285b6f20509eedc13b026cb4b051 (diff) | |
download | coreutils-2f438fa9f53250fb3c8b39a95eedd627b5569ca4.tar.gz |
basenc: A new program complementary to base64/base32
Encodes/decodes data in various common formats:
base64,base64url,base32,base32,base16,base2,z85.
Discussed here:
https://lists.gnu.org/r/coreutils/2018-11/msg00014.html
https://lists.gnu.org/r/coreutils/2018-12/msg00019.html
* AUTHORS: Add basenc.
* README: Reference the new program.
* NEWS: Mention the new program.
* build-aux/gen-lists-of-programs.sh: Add basenc.
* doc/coreutils.texi: (basenc invocation): Document the new command.
* man/.gitignore: Ignore the generated man page.
* man/basenc.x: A new template, with few examples.
* man/local.mk: Reference the new man page.
* scripts/git-hooks/commit-msg: Allow basenc as program prefix.
* src/.gitignore: Ignore the new binary.
* src/basenc.c:
(usage): Mention new options.
(main): Handle new options.
(isbase*, base*_length, base*_encode, base*_decode_ctx): Implement new
encoding/decoding formats.
* src/local.mk: Add new program.
* tests/local.mk: Add new test.
* tests/misc/basenc.pl: New tests.
* tests/misc/help-version.sh (basenc_setup): use '--version' for default
invocation (basenc errors with no parameters).
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/git-hooks/commit-msg | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/git-hooks/commit-msg b/scripts/git-hooks/commit-msg index 3dbddc63d..8a4b894ef 100755 --- a/scripts/git-hooks/commit-msg +++ b/scripts/git-hooks/commit-msg @@ -14,10 +14,10 @@ $editor = "vi" if $? != 0 or $editor =~ /^\s*\z/; # Keywords allowed before the colon on the first line of a commit message: # program names and a few general category names. my @valid = qw( - arch b2sum base32 base64 basename cat chcon chgrp chmod chown chroot cksum - comm cp csplit cut date dd df dir dircolors dirname du echo env expand - expr factor false fmt fold groups head hostid hostname id install - join kill link ln logname ls md5sum mkdir mkfifo mknod mktemp + arch b2sum base32 base64 basenc nbasename cat chcon chgrp chmod chown + chroot cksum comm cp csplit cut date dd df dir dircolors dirname du echo + env expand expr factor false fmt fold groups head hostid hostname id + install join kill link ln logname ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup nproc numfmt od paste pathchk pinky pr printenv printf ptx pwd readlink realpath rm rmdir runcon seq sha1sum sha224sum sha256sum sha384sum sha512sum shred shuf sleep sort split stat stdbuf stty |