[FFmpeg-devel] [PATCH] configure: clean whitespace with [:space:]
Carl Eugen Hoyos
cehoyos at ag.or.at
Mon Jul 13 12:53:06 CEST 2015
Zhang Rui <bbcallen <at> gmail.com> writes:
> cleanws(){
> - echo "$ <at> " | sed 's/^ *//;s/ */ /g;s/ *$//;s/\\r//g'
> + echo "$ <at> " | sed "s/^ *//;s/[[:space:]][[:space:]]*/ /g;s/ *$//"
If this fixes compiler X on Y, please mention this
in the commit message.
(The link to wikibooks seems less important to me.)
Carl Eugen
More information about the ffmpeg-devel
mailing list