home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / apple2 / gno / 725 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  1.9 KB

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