dev/bash/trap/trap.sh

8 lines
83 B
Bash
Raw Normal View History

2011-04-07 17:03:45 +04:00
#!/bin/sh
trap 'echo bye ; exit 0' INT
while [[ "" == "" ]]; do
echo aa
done