From: anthony Date: Tue, 27 Mar 2012 13:55:43 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5964 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d91fffc7e5755a0434ce0a6b3a37352a51aafcf;p=imagemagick --- diff --git a/MagickWand/script-token.c b/MagickWand/script-token.c index 74929de2b..ac7258226 100644 --- a/MagickWand/script-token.c +++ b/MagickWand/script-token.c @@ -197,15 +197,15 @@ WandExport ScriptTokenInfo * DestroyScriptTokenInfo(ScriptTokenInfo *token_info) % end of the line. You can escape a comment '#', using quotes or backlsashes % just as you can in a shell. % -% As a special case a ':' at the start of a line is also treated as a comment +% As a special case a ';' at the start of a line is also treated as a comment % This allows a magick script to ignore a line that is parsed by the shell % and can be used as a 'launcher' for magick scripts. For example % % #!/bin/sh % # % # Shell Launcher for Magick Script -% :; echo "This part is run in the shell" -% :; exec magick -script "$0" "$@"; exit 10 +% ; echo "This part is run in the shell" +% ; exec magick -script "$0" "$@"; exit 10 % # % # The rest of the script is magick script % -read label:"This is a Magick Script!"