"source" exits script, need to trap

Dan_Jacobson at ATT.COM Dan_Jacobson at ATT.COM
Fri May 17 08:53:50 AEST 1991


>>>>> On 16 May 91 00:06:32 GMT, daniel at island.COM (Daniel Smith "innovation, not litigation...") said:

DS> 	I have been writing a large csh script that has many
DS> modules/files that source each other.  I want to find a way to not
DS> have the source command in csh bounce me out of the entire script.

Maybe you can intersperse a layer of Bourne shell so you can use "trap".



More information about the Comp.unix.shell mailing list