home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!apple!unknown
- From: unknown@Apple.COM (Matt Ackeret)
- Newsgroups: comp.sys.apple2.gno
- Subject: Re: Shells
- Message-ID: <75975@apple.apple.COM>
- Date: 28 Dec 92 23:28:19 GMT
- References: <BzzEGz.73G@CAM.ORG>
- Organization: Apple Computer Inc, Cupertino, CA
- Lines: 39
-
- In article <BzzEGz.73G@CAM.ORG> vandry@CAM.ORG (Phillip Vandry) writes:
- >Anyone use zsh? It's a really excellent shell. But it's huge and I don't
-
- >There are a few things from zsh that would be nice for GNO, though.
- >echo `qtime` - replaces `qtime` with the standard output from qtime,
- > then passes that as a paramater to echo.
-
- cshell does that too, at least the versions I've used. (Yes I know it's
- not your main point.. just pointing out that it's not a zsh-specific
- thing. I've never heard of zsh actually)
-
- What kinds of things does zsh do that cshell doesn't?
-
- >You could do the same thing with just qtime, but there are cases when it's not
- >that simple (I can't remember now, of course :), but I would have used that
- >once a while ago)
-
- sz `find /tmp -user unknown -print` is a good example that I use fairly
- often, especially when my files don't all end in *SHK (in which case I'd just
- do "sz *SHK" of course).
-
- >Also, history substitutions. If, for example, you want to add an alias to
- >your system, you do this.
- >alias stuff otherstuff
- >echo !1 >>~/gshrc - echo the previous line to the file.
- >!1 means first line in the history, !2, the second, and so on.
-
- Isn't that backwards? Aren't the history lines in ascending order
- chronologically?
-
- >gsh also needs a way to run a series of proceses in the background, but
- >sequentially.
- >( process1 ; process2 ; process3 ) &
- >run them one after the other.
-
- ooh, never heard of that.. Sounds interesting.
- --
- unknown@apple.com Apple II Forever
- unknown@ucscb.ucsc.edu These opinions are mine--hell, I'm 'just' a contractor.
-