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

  1. Path: sparky!uunet!newsflash.concordia.ca!clyde.concordia.ca!altitude!vandry
  2. From: vandry@CAM.ORG (Phillip Vandry)
  3. Newsgroups: comp.sys.apple2.gno
  4. Subject: Re: Shells
  5. Message-ID: <C035Cr.IxM@CAM.ORG>
  6. Date: 30 Dec 92 18:43:38 GMT
  7. References: <BzzEGz.73G@CAM.ORG> <75975@apple.apple.COM>
  8. Organization: Champlain Regional College, St-Lambert QC CANADA
  9. Lines: 49
  10.  
  11. unknown@Apple.COM (Matt Ackeret) writes:
  12.  
  13. >In article <BzzEGz.73G@CAM.ORG> vandry@CAM.ORG (Phillip Vandry) writes:
  14. >>Anyone use zsh? It's a really excellent shell. But it's huge and I don't
  15.  
  16. >cshell does that too, at least the versions I've used. (Yes I know it's
  17. >not your main point.. just pointing out that it's not a zsh-specific 
  18. >thing. I've never heard of zsh actually)
  19.  
  20. I think it just got out of beta. It seemed a LOT better than ksh, which is the
  21. default on this UNIX machine, so I started using it. I've never used csh, so I
  22. can't compare.
  23.  
  24. >sz `find /tmp -user unknown -print` is a good example that I use fairly
  25. >often, especially when my files don't all end in *SHK (in which case I'd just
  26. >do "sz *SHK" of course).
  27.  
  28. >>Also, history substitutions. If, for example, you want to add an alias to
  29. >>your system, you do this.
  30. >>alias stuff otherstuff
  31. >>echo !1 >>~/gshrc               - echo the previous line to the file.
  32. >>!1 means first line in the history, !2, the second, and so on.
  33.  
  34. >    Isn't that backwards? Aren't the history lines in ascending order
  35. >chronologically?
  36.  
  37. You could very well be right... I don't use it enough to remember which way it
  38. goes.
  39.  
  40. >>gsh also needs a way to run a series of proceses in the background, but
  41. >>sequentially.
  42. >>( process1 ; process2 ; process3 ) &
  43. >>run them one after the other.
  44.  
  45. >ooh, never heard of that.. Sounds interesting.
  46.  
  47. The simplest use of that is a background timer (wake up in two minutes...)
  48.  
  49. (sleep 120;echo \\007)&
  50.  
  51.  ______________________________________________________________________
  52. |~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
  53. | Phillip Vandry | Vandry@Cam.Org | Merry Christmas II you!            |
  54. |________________|________________|____________________________________|
  55.  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  56.  
  57. >-- 
  58. >unknown@apple.com        Apple II Forever
  59. >unknown@ucscb.ucsc.edu  These opinions are mine--hell, I'm 'just' a contractor.
  60.