home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!emory!gwinnett!qcinet!dpayton
- From: dpayton@qcinet.Gwinnett.COM (Doug Payton)
- Newsgroups: comp.unix.questions
- Subject: ':' line in scripts
- Message-ID: <1992Sep11.163325.7096@qcinet.Gwinnett.COM>
- Date: 11 Sep 92 16:33:25 GMT
- Organization: Quality Consultants, Inc.
- Lines: 19
-
- I've seen, on occasion, scripts that begin with the line
-
- :
-
- which, as I recall, is simply 'true'. Sometimes I've seen
-
- #!/bin/sh
- :
-
- ...but the ':' is still there.
-
- What is it's purpose? Does it init the shell to a known state?
- --
- Doug Payton -- Internet: dpayton@qcinet.gwinnett.com
-
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- An open mind is good, but, like an open window,
- it still needs a screen to keep the bugs out.
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-