X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=make-recipes.sh;h=7bd8114448a384b16e280424e4de5f04a86dd404;hp=b3cd76a7dd76ca948a31f8684b5c873b4593292d;hb=4de124debf181ff6af38617b80c2355627e38d35;hpb=b03ee3675bed8d739ae722ed8c030ae02b3cb0ed diff --git a/make-recipes.sh b/make-recipes.sh index b3cd76a..7bd8114 100755 --- a/make-recipes.sh +++ b/make-recipes.sh @@ -25,13 +25,13 @@ cat <

guestfish recipes

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

- Download + Download libguestfs and guestfish here or - go to the + go to the libguestfs home page.

@@ -43,8 +43,8 @@ for f in recipes/*.sh; do b=`basename $f .sh` echo -n '
  • '$b.sh if [ -r recipes/$b.title ]; then - echo -n ': ' - cat recipes/$b.title + echo -n ': ' + cat recipes/$b.title fi echo '
  • ' done @@ -57,23 +57,23 @@ for f in recipes/*.sh; do echo -n '' echo -n '

    '$b'.sh' if [ -r recipes/$b.title ]; then - echo -n ': ' - cat recipes/$b.title + echo -n ': ' + cat recipes/$b.title fi echo -n 'permalink' echo '

    ' if [ -r recipes/$b.html ]; then - cat recipes/$b.html + 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 '
    '
    -	sed -e 's,&,\&,g' -e 's,<,\<,g' -e 's,>,\>,g' < recipes/$b.example
    -	echo '
    ' + echo '

    Example output

    ' + echo '
    '
    +        sed -e 's,&,\&,g' -e 's,<,\<,g' -e 's,>,\>,g' < recipes/$b.example
    +        echo '
    ' fi done