Alaric B. Williams writes:
> On 17 Apr 1997 23:51:40 -0400, Olin Shivers
> <shivers@lambda.ai.mit.edu> wrote:
>
> >I would suggest that you'd be better off sticking with a classic
> >shell-like syntax for the common, everyday issuing of commands, not
> >simply punting the outer layer of parens. Globbing, for example, is
> >an important interface between the filesytem and the command line arguments
> >given to programs. This is built in to the syntax of typical interactive
> >shells.
>
> But how about (glob <filespec>), which returns a list of string
> filenames...
>
> (cat "alaric.txt")
>
> (cat . (glob "*.txt"))
>
> Saves all that messiness of escape codes and so on!
>
> ABW
> --
The person you are replying to is the primary author of scsh - the
Scheme Shell. scsh already has (glob ...) I think he was talking about
preserving an easy to input syntax for interactive use build on top of a
system you can escape to if you want to do something harrier.
-bri
|