Up a bitstream without an ASCII
Curtis Jackson
rcj at burl.UUCP
Mon Jun 10 23:39:37 AEST 1985
I put out a request earlier for a binary <==> ASCII converter.
I thank those who have responded to me already, but I'm still as
the Subject line indicates. The problem is, both uuencode/uudecode
and btoa/atob are wonderful but they are not conducive to converting
stuff for SCCS because they output '%'s. I tried btoa on one of
my object files and got both a '%H%' and a '%I%' in the output.
When these files are put under SCCS and later retrieved, these two
strings will be expanded to be the current date and the SID of
the file, respectively, and atob will barf because its checksums
won't.
If I can't get a filter that won't output '%', or can't hack an
existing algorithm, I can resort to pulling stuff out using get(1)'s
'-k' flag. But the software I am using for source control is itself
an interface to SCCS and tends to do funny things when you use
switches; I'd really prefer to get (or hack) a filter that'll not
output '%'.
I don't know who the author/poster of btoa was, but could s/he possibly
drop me a line (or someone give me that person's address) so I
could talk to them about their algorithm?
Thanks very much for your time,
--
The MAD Programmer -- 919-228-3313 (Cornet 291)
alias: Curtis Jackson ...![ ihnp4 ulysses cbosgd mgnetp ]!burl!rcj
...![ ihnp4 cbosgd akgua masscomp ]!clyde!rcj
More information about the Comp.unix.wizards
mailing list