|
|
|
|
|
by stormbrew
4687 days ago
|
|
I have this bit of magic in mine to map return codes to some semblance of a string version of them: LED=$(perl -le "\$!+=${LE};print \$!" 2>/dev/null || echo "unknown error")
It's not perfect but I haven't found a more reliable way to map exit status' to something like the right meaning. |
|