home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!sgigate!odin!twilight!zola!anchor!olson
- From: olson@anchor.esd.sgi.com (Dave Olson)
- Newsgroups: comp.sys.sgi.apps
- Subject: Re: Is there a C-shell equivalent of "trap"?
- Message-ID: <v5m10vk@zola.esd.sgi.com>
- Date: 21 Jan 93 18:21:52 GMT
- References: <1993Jan21.051424.17868@ringer.cs.utsa.edu>
- Sender: news@zola.esd.sgi.com (Net News)
- Organization: Silicon Graphics, Inc. Mountain View, CA
- Lines: 19
-
- In <1993Jan21.051424.17868@ringer.cs.utsa.edu> senseman@lucy.brainlab.utsa.edu (David M. Senseman) writes:
-
- | This is almost certainly the wrong group to post to,
- | but the question is so dumb, it probably doesn't matter...
- |
- | I'm use to programming in Bourne/Korn and use the "trap"
- | builtin command from time to time. Is there a similar
- | service in C-Shell or a way to emulate a "trap"? I don't
- | see anything at all like "trap" in my C-Shell reference
- | books. Is it there and I'm not seeing it or this feature
- | not found in C-Shell?
-
- onintr, but it isn't as general as trap. One of the many
- reasons people recommend writing any non-trivial shell
- script with sh or ksh.
- --
- Let no one tell me that silence gives consent, | Dave Olson
- because whoever is silent dissents. | Silicon Graphics, Inc.
- Maria Isabel Barreno | olson@sgi.com
-