AminetAminet
Search:
84510 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/batch/mecho.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Echo replacement w/ C source
Author:j.tevessen at line.org (Johnny Tevessen)
Uploader:j tevessen line org (Johnny Tevessen)
Type:util/batch
Version:1.0
Requires:AmigaOS 2.02
Architecture:m68k-amigaos
Date:1997-05-11
Download:http://aminet.net/util/batch/mecho.lha - View contents
Readme:http://aminet.net/util/batch/mecho.readme
Downloads:530

Cologne/Germany, Sat, 1997/05/10

mecho allows you to output any character sequence.
C style escape sequences like '\r', '\n' or '\x22'
are supported. Take a look at the beginning of the
included C source for more examples. I wrote it
because Commo's builtin echo lacks support of
printing characters like CR.

mecho is written in 100% plain ANSI C. The included
executable was created using SAS/C 6.57, but it
can easily be recompiled with GCC or any other
ANSI compliant C compiler.

Note: The program itself does not need any specific
OS version or even OS (I successfully compiled
it under Linux/68k), but this SAS/C compiled version
requires AmigaOS 2.02 because I forced it to use
utility.library.

This program is (w) and (c) 1997 by Johnny Tevessen,
Cologne/Germany. All Rights Reserved. It may be
freely distributed as long as the whole archive
remains intact. Comercial and military use is
prohibited. The author cannot made responsible for
any damage that is caused by this program. Use it
at your own risk!

I successfully compiled and run it on my A1k2,
68030/'882, OS3.0, 2+8MB.

Suggestions are always welcome.


Contents of util/batch/mecho.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 3693    5760  64.1% -lh5- 729d May 10  1997 mecho
[generic]                 1143    2885  39.6% -lh5- e34b May 10  1997 mecho.c
[generic]                  768    1321  58.1% -lh5- 6785 May 10  1997 mecho.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         3 files    5604    9966  56.2%            May 11  1997

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>