0484名無しさん@お腹いっぱい。垢版 | 大砲2016/06/27(月) 20:12:25.69 >>483 function hoge(){ trap 'return 1' SIGINT printf "input: " read string } これでどうだろう