On 4/17/2023 6:15 PM, Junio C Hamano wrote: > "Derrick Stolee via GitGitGadget" <gitgitgadget@xxxxxxxxx> writes: > >> +corrupt_rev_and_verify () { >> + ( >> + pos="$1" && >> +... >> + grep "$error" err >> + ) >> +} > > Curious. Would it work equally well to write > > corrupt_rev_and_verify () ( > pos="$1" && > ... > grep "$error" err > ) > > without an extra level of indentation? I've never seen that replacement (and it only exists in our tree in t4018/bash-arithmetic-function and t4018/bash-subshell-function) but it works and looks nicer. Thanks, -Stolee