X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=make-recipes.sh;h=a8ba4fe9a9fb03ecea020e3c5751ea7033832466;hp=ebed325a3dae58b020b73a66233f822af925cf55;hb=bf0280bf589573c11529999a73e9ec642dea9d61;hpb=27161658c897544a58c7d4f87c08f2ee8ce08d43 diff --git a/make-recipes.sh b/make-recipes.sh index ebed325..a8ba4fe 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.

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