Short: UNIX-style 'cat' w/ AmigaOS wildcard support
Author: zodiac@darkness.gun.de (Ralph Seichter)
Uploader: zodiac darkness gun de (Ralph Seichter)
Type: util/misc
Architecture: m68k-amigaos
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'.