home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / shell / 3728 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  1.7 KB

  1. Xref: sparky comp.unix.shell:3728 comp.unix.questions:10600
  2. Newsgroups: comp.unix.shell,comp.unix.questions
  3. Path: sparky!uunet!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!casbah.acns.nwu.edu!navarra
  4. From: navarra@casbah.acns.nwu.edu (John Navarra)
  5. Subject: Re: Shell Scripts vs. C programs
  6. Message-ID: <1992Sep1.085412.11146@news.acns.nwu.edu>
  7. Keywords: shell script, C
  8. Sender: usenet@news.acns.nwu.edu (Usenet on news.acns)
  9. Organization: Northwestern University, Evanston Illinois.
  10. References: <119@steiny.com> <1992Sep1.044434.7193@news.acns.nwu.edu> <1992Sep01.062906.8332@tjhsst.vak12ed.edu>
  11. Date: Tue, 1 Sep 1992 08:54:12 GMT
  12. Lines: 22
  13.  
  14. In article <1992Sep01.062906.8332@tjhsst.vak12ed.edu> nurban@tjhsst.vak12ed.edu (Nathan Urban) writes:
  15. >It seems to me that most tasks that you would write a shell script for
  16. >could be implemented in very portable C without worrying too much about
  17. >OS quirks if one so desired.
  18. >
  19. >
  20.     And vice versa. But which is easier to write? And, suppose you
  21. had to add capabilities to your program which DID involve 'OS quirks'.
  22. Would you rather be responsible for making sure your C program compiled
  23. on all machines or would you rather just update your shell script? In
  24. general, shell scripts are much easier to write and maintain. Unless
  25. there is some profuse lack of speed, shell scripts are very very useful.
  26. But then again, there is always the perl alternative....
  27.  
  28. -tms
  29.  
  30.  
  31. -- 
  32. You can get further with a kind word | You can get further with a kind word
  33. and a gun than a kind word alone.    | and a phaser than a kind word and a gun.
  34.           --al capone                |           -- John Navarra
  35. =======From the Lab of the MaD ScIenTIst....navarra@casbah.acns.nwu.edu========
  36.