Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!rpi!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!starsoft!david From: david@starsoft.UUCP (Dave Lowrey) Newsgroups: comp.sys.amiga.tech Subject: Re: Shells Message-ID: <185488ae.ARN2566@starsoft.UUCP> Date: 8 Dec 90 16:59:58 GMT References: <1990Dec8.082553.8591@athena.mit.edu> Reply-To: david@starsoft.UUCP Followup-To: comp.sys.amiga.tech Organization: Starbound Software Group Lines: 38 Expires: Keywords: Distribution: In article <1990Dec8.082553.8591@athena.mit.edu>, Richard L. Carreiro writes: > > Are there any shells for the amiga (either commercial or freely redist.) > that actually do the wildcard expansion, rather than the program > having to do it? In other words, if I have a directory containing: > foo.1 foo.2 foo.txt > > and I have written a SAS/C program which simply scans argc and argv > and prints out all its command line arguments (call it arg, say) and > I do: > > arg foo.? *.txt > in that shell, then > foo.1 foo.2 foo.txt > > will be the output of my program. > > Are there any such beasties? > > Yes, SKsh (avaliable on Fish disks, V1.6 is the latest) does this. It is a UNIX Korn Shell clone. There is one limitations however....when passing parameters to commands, AmigaDos (1.3 and below) limits you to 256 characters on the "command line". When executing SKsh's built in commands, that is not a limitation. Check it out, it works great!!! ---------------------------------------------------------------------------- These words be mine. The company doesn't care, because I am the company! :-) Dave Lowrey | david@starsoft or {uhnix1,lobster}!starsoft!david Starbound Software Group | Houston, TX | "Dare to be stupid!" -- Weird Al Yankovic