* g...@suckless.org 2016-09-19 22:52
>     2ff: use trap to remove temporary file
>
>     This also frees us from having to store the return value somewhere.

I would almost favor the following (despite the long line) and get rid
of the `if`:

        [...]
                ;;
        esac || (printf "%s: failed to convert from %s\n" "$0" "$FORMAT" >&2; 
exit 1)


the whole `$?` business is mostly wasteful if logic operators are
available.

cheers
--s

Reply via email to