home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.shell:3791 comp.unix.questions:10669
- Newsgroups: comp.unix.shell,comp.unix.questions
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!menudo.uh.edu!buster!uhura1!bryan
- From: bryan@uhura1.uucp (Bryan Curnutt)
- Subject: Re: Shell Scripts vs. C programs
- Message-ID: <1992Sep2.212804.16353@uhura1.uucp>
- Keywords: shell script, C
- Reply-To: bryan%uhura1@uunet.uu.net
- Organization: Stoner Associates, Inc./DREM Incorporated, Houston Texas
- References: <1992Aug31.211738.1909@tjhsst.vak12ed.edu>
- Date: Wed, 2 Sep 1992 21:28:04 GMT
- Lines: 16
-
- In article <1992Aug31.211738.1909@tjhsst.vak12ed.edu> nurban@tjhsst () writes:
- >
- >I've heard that if at all possible, code a program as a shell script
- >rather than coding it in C. Can someone explain the rationale behind
- >this philosophy?
-
- One rationale I haven't seen mentioned yet in this thread: With a
- shell script, the source code and the executable program are in the
- same place. It will be much easier for someone working on the system
- several years down the road to find the source code, and to be sure
- that the source code s/he has found is actually the code that is being
- used in the executable program.
- --
- Any opinions above are mine, and do not necessarily reflect the views of SAI.
- Bryan Curnutt
- bryan%uhura1@uunet.uu.net
-