diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-13 12:02:00 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-13 12:02:00 +1300 |
commit | c4a1f8a7ea386e89cf4fee286b3c1aac61e4f16c (patch) | |
tree | a54e8c8dd47c97610c8616b252b7aaaeea9684ab /bin/fnl.sh | |
parent | Correct comment typos (diff) | |
download | dotfiles-c4a1f8a7ea386e89cf4fee286b3c1aac61e4f16c.tar.gz dotfiles-c4a1f8a7ea386e89cf4fee286b3c1aac61e4f16c.zip |
Document why fnl(1df) command is wrapped
Because I forgot
Diffstat (limited to 'bin/fnl.sh')
-rw-r--r-- | bin/fnl.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -9,7 +9,9 @@ fi # Create a temporary directory; note that we *don't* clean it up on exit dir=$(mktd fnl) || exit -# Run the command; keep its exit status +# Run the command; keep its exit status; wrap the command in braces so that the +# out files are always opened even if the command is not found or otherwise +# can't be run; some BSD shells require this, I forget which ones { "$@" ; } >"$dir"/stdout 2>"$dir"/stderr ret=$? |