-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Matthew Woehlke on 12/11/2006 5:46 PM: > > The objective is to be able to reproduce a binary file from an 'editor > friendly' shell script. I know base64 could do this, except that base64 > is not portable (even to pre-6.x GNU coreutils), whereas printf is IIRC > required by POSIX.
Does your final filter have to be printf, or can it be another program? For example, have you considered uuencode/uudecode, which _are_ specified by POSIX? - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFfh6Q84KuGfSFAYARAqtQAJ9S03oaIZ/VyjWQ95JR8IjiEhsUVgCfWqlE did4U/Vt7EIEjy6voZRYhX4= =u+yH -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
