dev/bash/trap/trap.sh
2011-04-07 17:03:45 +04:00

8 lines
83 B
Bash
Executable File

#!/bin/sh
trap 'echo bye ; exit 0' INT
while [[ "" == "" ]]; do
echo aa
done