3 # Usual approach to updating the expected outputs is
5 # tests/filter/update-expected
6 # selectively git-add the things that are right, after inspecting them
9 files=$(find tests/filter -name \*.expected.tmp)
12 (s/\n//, $stripnl=0) if $stripnl;
13 next unless /^# doctest starts/../^# doctest ends/;
17 <${f%.expected.tmp}.tmp >${f%.tmp}