i am writing a program on allegro common lisp
running on a *nix based system. i want to make a
system call to 'grep' or similar command, perhaps
even a shell script and i was wondering on how to
do such a thing. i've looked at several manuals to
no avail. to maybe help you understand the
problem, this is what i want from this part of the
program: i want to be able to search through a
text file (or files) for a pattern, which may or
may not include wildcards (? and *). any help
would be greatly appreciated.
tyler
Sent via Deja.com http://www.deja.com/
Before you buy.
* expo <······@my-deja.com>
| i want to make a system call to 'grep' or similar command, perhaps
| even a shell script and i was wondering on how to do such a thing.
hm. a "system call" is generally a call to a kernel service. the
"system" C function, however, just runs a shell command. Allegro CL
offers the function RUN-SHELL-COMMAND which does exactly this.
#:Erik