[Moin-user] escape character

Ted Stern dodecatheon at gmail.com
Mon Aug 16 21:58:24 EDT 2010


On 16 Aug 2010 16:52:54 -0700, Rocky Borg wrote:
>
>   Is there a way to escape a character so #! isn't parsed further and 
> will simply display as regular text.
>
> I'm trying to do
>
> {{{
> #!/bin/sh
> along with further text here.
> }}}
>
> The #!/bin/sh part is what's needed at the top of shell scripts and I'm 
> trying to show an example after that part. I've read over the section on 
> editing and I didn't see a way to do this.
>

Essentially, what you need to do is provide a parser command first.
Logically you should try using the Shell parser:

          http://moinmo.in/ParserMarket/Shell

And then do

    {{{#!shell
    #!/bin/sh
    commands, etc.
    }}}

Looks redundant, but should work :-).

Ted

>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by 
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev 
> _______________________________________________
> Moin-user mailing list
> Moin-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user
>

-- 
 Frango ut patefaciam -- I break so that I may reveal




More information about the Moin-user mailing list