1. shell script with awk line that doesnt execute a further shell command
2. handling SIGINT in shell scripts when executing another shell script.
I have a simple shell script foo1.sh that invokes another shell script
foo2.sh, something like below:
#!/bin/sh
SIGINT_handler()
{
echo "## [$DATE_TIME] User interrupt ignored,"
continue
}
trap SIGINT_handler 2
...
./foo2.sh
...
----------
while executing foo1.sh, if the script receives SIGINT, how do I ignore
the SIGINT in foo2.sh ? somehow foo2.sh does not finish to completion
and is killed after receiving SIGINT. but foo1.sh is still executing.
Is there any way to trap this signal in the child script. ? Please
share your thots and inputs on this topic.
Regards,
Vikram Shekhar
3. execute a shell script in a shell script
4. Command-line SSH: Executing Shell Commands
5. how to invoke another shell inside an shell and then execute the command
6. Executing Power Shell Scripts from Windows Shell
7. Giving windows filenames including spaces as an argument within an AWK script to a shell command
8. variable assignment to awk (was: awk from shell script)
9. shell command into an AWK Script
10. AWK command inside the shell script
11. Single quotes in shell script for awk command
12. problem with executing commands from within the shell using a command string.
13. executing a string in command line shell buffer (for remote connection)
14. shell script to execute a kill command
15. executing a string in command line shell buffer (for remote connection)