Article View: comp.sys.sgi.apps
Article #53Re: Is there a C-shell equivalent of "trap"?
From: Dave Olson
Date: Thu, 21 Jan 1993 18:21
Date: Thu, 21 Jan 1993 18:21
19 lines
1344 bytes
1344 bytes
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
Technical Details
Message-ID:
<v5m10vk@zola.esd.sgi.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!olivea!sgigate!odin!twilight!zola!anchor!olsonReferences:
<1993Jan21.051424.17868@ringer.cs.utsa.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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