X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=make-recipes.sh;h=7bd8114448a384b16e280424e4de5f04a86dd404;hp=a8ba4fe9a9fb03ecea020e3c5751ea7033832466;hb=79f5720d2ccab820c90b7516f3fbf5e3dcbe9c8f;hpb=9473e8f72d1a7db0561e59f01c2dd45630c0a107 diff --git a/make-recipes.sh b/make-recipes.sh index a8ba4fe..7bd8114 100755 --- a/make-recipes.sh +++ b/make-recipes.sh @@ -66,9 +66,9 @@ for f in recipes/*.sh; do cat recipes/$b.html fi echo '

'$b'.sh

' - echo '
'
-    sed -e 's,&,\&,g' -e 's,<,\<,g' -e 's,>,\>,g' < $f
-    echo '
' + echo '
' + source-highlight --output=STDOUT --src-lang=sh --input=$f + echo '
' if [ -r recipes/$b.example ]; then echo '

Example output

' echo '
'