X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=make-recipes.sh;h=7bd8114448a384b16e280424e4de5f04a86dd404;hb=a53833fdd21cd573fe8fd02d7a11a3a5e9764ce0;hp=a8ba4fe9a9fb03ecea020e3c5751ea7033832466;hpb=9473e8f72d1a7db0561e59f01c2dd45630c0a107;p=libguestfs.git 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 '
'