2020-06-07から1日間の記事一覧
bashでシグナルハンドラを行い際に便利なコマンドtrapだがSIG*以外にも擬似シグナルをハンドリングすることが可能らしい。 If a sigspec is ERR, the command arg is executed whenever a simple command has a non-zero exit status, subject to the follow…
bashでシグナルハンドラを行い際に便利なコマンドtrapだがSIG*以外にも擬似シグナルをハンドリングすることが可能らしい。 If a sigspec is ERR, the command arg is executed whenever a simple command has a non-zero exit status, subject to the follow…