Re: Binaries within bash



Herbert Kleebauer wrote:
Maybe there is a much easier way to include binaries within a
batch program in Linux, but here my first try using bash:

Look at shar and uuencode.

The source code for the above binary (remove all <CR> from a text file):

That can be done easily with tr:

--
Thomas M. Sommers -- tms@xxxxxx -- AB2SB

.



Relevant Pages

  • Binaries within bash
    ... Maybe there is a much easier way to include binaries within a ... batch program in Linux, but here my first try using bash: ...
    (alt.lang.asm)
  • Re: Binaries within bash
    ... Herbert Kleebauer schrieb: ... batch program in Linux, but here my first try using bash: ...
    (alt.lang.asm)
  • Re: Bash: Bessere =?UTF-8?Q?Auto=2DVervollst=C3=A4ndigung=3F?=
    ... Die von der bash implementierte Version ist da erheblich ... Wenn das Filesystem zwischen Gross- und Klein-Schreibung ... Wenn man das (IMHO unter Linux eher als kaputte) Vrhalten unbedingt moechte, ... Ein Domainname ist nur ein Name, ...
    (de.comp.os.unix.linux.misc)
  • Re: Why I hate Linux
    ... Bash OWNS anything remotely associated with MS-DOS. ... compute at the mercy of application programmers. ... Linux is not perfect in this ... a consequence of the inherently modular design of Linux (at any layer ...
    (comp.os.linux.misc)
  • Re: Linux is the biggest joke not a real OS
    ... The Winkooks will bash Linux without ... crowd', a 'you're not practical' crowd, and a 'let's give up like ... You're talking about the FAKE Daeron. ...
    (comp.unix.solaris)