[A86] Re: bin2var help


[Prev][Next][Index][Thread]

[A86] Re: bin2var help






On Mon, 21 Jan 2002, David Phillips wrote:

>
> > I used to use Debian. But I got sick of the packaging system. I can't
> > stand packaging systems, so I did LFS (Linux From Scratch,
> > linuxfromscratch.org). I have the source to everything I have.
> >
> > The assembly header worked fine. I got Hello World to work!
>
> You'll have fun upgrading...

	dr=`pwd`
	cd /usr/src/$oldpkg
	make uninstall
	cd /usr/src/$newpkg
	make install
	cd $dr


> Which assembler?

I meant the techneque used for compiled assembly programs.

> > > You would do something similar for a plain text program:
> > >
> > > $ printf "\000" > tmp
> > > $ cat tmp text.txt > tmp
> > > $ bin2var tmp text.86p
> > > $ rm -f tmp
> > >
> > This didn't work. The files still come out scrambled!
> >
> > Thanks for the past, and hopefully in the future help,
>
> Did it work for compiled assembly programs?
>
What? The \000? Or the \216\050? The latter worked fine for asm. I didn't
try \000 on asm.

Ryan


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





References: