[comp.sys.amiga] "echo" binary.

bryce@COGSCI.BERKELEY.EDU (Bryce Nesbitt) (05/18/87)

This is a replacement "ECHO" command.  It is 336 bytes long and allows
hex, decimal or binary data to be used in the echo string.  The source
has been submitted to comp.sources.amiga and should show up within the
week.
Be charitable, this was my third 68000 and/or Amiga program ever!

SYNTAX:

-r      ;Do not add return (ahhh, linefeeed) to the end
-c	;Reserved
#10     ;Decimal
%10101  ;binary
$ABCD	;hex
"hi!"   ;string
------------ cut here for test script file ----------
; Test file for the BETTERCLI "ECHO" command
; execute echo.bat with BETTERCLI "ECHO" in c:
echo $9b "0 p"            $9b "0;31;42m" $c #10 %1010  ;$c = clear screen
;$9b "0 p" turns off the cursor
echo $1b "[31m This is a test of the " -r $9b "4;33mBETTERCLI" $9b "0;33;42m " 34 "ECHO" #34 $9b "0;31;42m Command!"
echo 10 9 %1001 $9b "4;30;42m            " #10 9 9 $9b "0;31;40m Have Fun!! " 10 10 $9b "0;33;42m" $9b " p"
;$9b " p" turns the cursor back on
------- cut here for executable ------
begin 777 echo
M```#\P`````````!``````````````!+```#Z0```$LB2"1(?`!3@&<``,(29
M&6%$9_0,`0`B9RP,`0`M9UAT`@P!`"5G8@P!`"1G6G0*#`$`(V=44XE2@&!.\
M$AD,`0`B9\00P5.`9O)V"47Z`-1^"F```(P,`0`@9PH,`0`L9P0,`0`)3G4,N
M`0!C9PH,`0!R9M8`!@`!4X!G4A(98=9FYF"$$,-@@'00=@!3@&<\<@`2&0P!"
M`"!GZ@P!`"QGY`P!``EGW@0!`#!EG@P!``IE$`P!`#%ED@0!`"<,`0`09(BRP
M@F2$QL+6@6#`$,,"!@`!9@00_``*D<HF"&?V?A0L>``$<`!#^@`N3J[]V"Q`]
M2H!G'DZN_\0B`&<,)`I.KO_0MH!F`GX`(DXL>``$3J[^8B`'3G5D;W,N;&EB!
5<F%R>0!B860@87)G<PH"``````/RS
``
end
---- cut yourself for blood ----

         Ack!     (NAK,EOT,SOH)
 |\ /|  .
 {o O} .  bryce@cogsci.berkeley.EDU      {ihnp4,seismo}!ucbvax!cogsci!bryce
 ( " ) 
   U      BCPL? Just say *no*!           BAN the BPTR!