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

util/sys/cat-37.1.lha

Mirror:Random
Showing:i386-arosgeneric
No screenshot available
Short:UNIX-style 'cat' w/ AmigaOS wildcard support
Author:zodiac at darkness.gun.de (Ralph Seichter)
Uploader:zodiac darkness gun de (Ralph Seichter)
Type:util/misc
Architecture:m68k-amigaos
Date:1996-06-30
Download:http://aminet.net/util/sys/cat-37.1.lha - View contents
Readme:http://aminet.net/util/sys/cat-37.1.readme
Downloads:6568

   Some of you may know 'cat' from UNIX systems, and I decided to write an
AmigaOS version which is smaller than 'GNUcat' (2680 bytes) and supports
all dos.library wildcards. 'cat' is pure and can be made resident by adding
the line

   Resident cat PURE ADD

to your user-startup or startup-sequence.

   The template for 'cat' is FILE/M/A,BUFFERS/N. BUFFERS defines the number
of 1 KB buffers used for copying (default = 64), while FILE allows passing
multiple file names or name patterns (including wildcards).

   Imagine a huge file 'foo' which has been split into pieces on a UNIX
platform, resulting in the output files foo.aa, foo.ab, foo.ac, [...],
foo.zx, foo.zy, foo.zz. To retrieve the original file, you could use the
'Join' command in your C: directory

   1> join foo.aa foo.ab ... foo.zy foo.zz as foo

Unfortunately you would have to enter each of the 676 file names manually.
If that's not your idea of fun, simply use

   1> cat foo.?? > foo

instead, and you're done. By the way, if you ask yourself why this tool is
called 'cat': the name does not stand for a feline, but as an abbreviation
for 'concatenate'.


Contents of util/sys/cat-37.1.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 2005    2680  74.8% -lh5- 8eee Jun 29  1996 cat
[generic]                 1728    3153  54.8% -lh5- ce5c Jun 29  1996 cat.doc
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    3733    5833  64.0%            Jun 30  1996

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