Search Results

Search: Posts Made By: markdark
6,428
Posted By ctsgnb
Modify your doTail() function : doTail() { ...
Modify your doTail() function :

doTail() {
while :
do
trap break INT
tail -F "${1}"
done
}
6,428
Posted By DGPickett
You need to trap SIGINT in your script so you can...
You need to trap SIGINT in your script so you can prevent the shell default handling. See man ksh look for trap, below, man signal and man kill. + trap [ -p ] [ action ] [ sig ] ...
...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 01:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy