home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / question / 15884 < prev    next >
Encoding:
Internet Message Format  |  1993-01-24  |  1.2 KB

  1. Path: sparky!uunet!ferkel.ucsb.edu!ucsbcsl!engrhub!harley
  2. From: harley@engrhub.ucsb.edu (Harley Hahn,,,HAHN,personal)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: Script to get the weather report
  5. Message-ID: <7460@ucsbcsl.ucsb.edu>
  6. Date: 23 Jan 93 17:26:50 GMT
  7. References: <7349@ucsbcsl.ucsb.edu> <1993Jan15.142623.19488@newsserver.rrzn.uni-hannover.de> <1993Jan20.180040.12256@news.eng.convex.com>
  8. Sender: root@ucsbcsl.ucsb.edu
  9. Lines: 22
  10.  
  11. In article <1993Jan20.180040.12256@news.eng.convex.com> tchrist@convex.COM (Tom Christiansen) writes:
  12. >>Most of the responses used Perl.  However, there is a certain
  13. >>advantage to using a shell script which is what
  14. >>I have done.
  15. >
  16. >But the output is exceedingly unclean, full of prompts and other 
  17. >garbage which you don't have in the perl versionss.
  18. >
  19. >--tom
  20.  
  21. Actually, this is not the case.
  22.  
  23. The assertion is that the shell script I posted merely
  24. telnets to the weather server, works it way through the
  25. menus, and dumps back everything to the user.
  26.  
  27. Take another look at the shell script.  It processes
  28. the data, stripping out everything that is unnecessary,
  29. so that the final report is clean as a whistle (to coin
  30. a phrase).
  31.  
  32. -- Harley Hahn
  33.