X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c5515a353e7316cb1c2ba3d4dce2979d5779ce37..9389882b87260b964150ae7aa1949dcdbc2ef421:/test/common.sh.in diff --git a/test/common.sh.in b/test/common.sh.in index 8f5d576c..6c9652ce 100644 --- a/test/common.sh.in +++ b/test/common.sh.in @@ -133,10 +133,9 @@ squeeze_lines() { sed '/^$/N;/\n$/D' } -#### Filter that inserts initial whitespace and converts non-breakable -#### space U+00A0 to an ASCII space. +#### Filter that converts non-breakable space U+00A0 to an ASCII space. prepare_space() { - sed 's/^/ /; s/'"`printf '\\302\\240'`"'/ /g' + sed 's/'"`printf '\\302\\240'`"'/ /g' } #### check() requires two arguments, each the name of a file to be