>>>>> On Sat, 16 Apr 2022, Florian Schmaus wrote:

>> edobe() {

> nit: I'd personally would use 'edob', as shorter is sometimes better
> plus every begin needs an end, so no need to explicitly state that
> there is an end.

It's even more obscure as a name however. :)

>>     ebegin "Running $@"
>>     "$@"
>>     eend $? || die -n "$@ failed"
>>     return $?

> I think this return statement can be omitted since it will always be
> invoked with 0 as argument, and this is the default behavior of
> implicit function return (IIRC).

You're right, the return statement is redundant.

>> }

Ulrich

Attachment: signature.asc
Description: PGP signature

Reply via email to