On Tue, Oct 15, 2024 at 11:46:11AM +0200, Patrick Steinhardt wrote: > +for suite in "$@" > +do > + sed -ne "s/^\(void test_$suite__[a-zA-Z_0-9][a-zA-Z_0-9]*(void)$\)/extern \1;/p" "$suite" || > + exit 1 > +done >"$OUTPUT" Much cleaner, thanks. > 2.47.0.72.gef8ce8f3d4.dirty Thanks, Taylor