X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=make-recipes.sh;h=7bd8114448a384b16e280424e4de5f04a86dd404;hp=b93b0b2d9abc8194422c10147310ee04ca3d25f4;hb=79f5720d2ccab820c90b7516f3fbf5e3dcbe9c8f;hpb=2f1a50d81671810256dce0852e6b1e0810ac44af diff --git a/make-recipes.sh b/make-recipes.sh index b93b0b2..7bd8114 100755 --- a/make-recipes.sh +++ b/make-recipes.sh @@ -25,7 +25,7 @@ cat <

guestfish recipes

You can also find these in the - recipes/ + recipes/ subdirectory of the source.

@@ -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 '
'