From 40af126864cdfe1b8ede5e9c9176f1744968fa32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 19 Jan 2012 17:28:00 +0100 Subject: tools/extract-api.sh : do not use cat | sed, just sed --- tools/extract-api.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/extract-api.sh b/tools/extract-api.sh index 9599f2b..372a8ff 100755 --- a/tools/extract-api.sh +++ b/tools/extract-api.sh @@ -55,7 +55,7 @@ for header in \ # for what in functions enums types callbacks variables; do F=$FILE-$what - cat $header | sed -r -n -f $P/sed-$what > $NEXT/$F + sed -r -n -f "$P/sed-$what" $header > $NEXT/$F if [ -f $PREV/$F ]; then diff -u0 $PREV/$F $NEXT/$F > $P/$F-diff N=$(cat $P/$F-diff | wc -l) -- cgit v1.1-2-g2b99