[comp.sys.amiga] Long command lines

john.russell@canremote.uucp (JOHN RUSSELL) (12/18/89)

Steve Koren noted the 256 character limit on command names, and gave the 
example of zooing with wildcards (where the list of filenames would
expand to more than 256 characters).
 
This is a problem with many commands, however archivers like zoo and arc 
that expect long filelists will do their own pattern matching to avoid
the problem.  So if you're using a shell with an escape character of \
(like Matt Dillon's shell), the following works fine no matter how many
files match the pattern:
 
zoo -move source \*.c \*.h \*.asm \*.i makefile
 
You'll see a big speed increase too for large directories, since zoo
seems to scan the whole directory once per filename.  When I forget to
use \, I often have to ^C and re-enter the line because of the delay.
 
John
---
 * Via ProDoor 3.1R