i have an issue regarding trap command.
i have specified trap function in the beginning of the script to catch some signals but in the later part of the script i want to remove the effect of this.
Can anybody help me out of this.
for e.g. pressing Ctrl+C for the first time should be trapped, but the second time Ctrl+C should work as usual.
Signals ignored upon entry to the shell cannot be trapped or reset. Trapped signals are reset to their origi-nal values in a child process when it is created.