[Moin-user] After upgrade #!/bin/sh lines are gone

R.Bauer rb.proj at gmail.com
Mon Mar 16 10:32:32 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Timo Sirainen schrieb:
> I have many shell scripts in my wiki listed like:
> 
> {{{
> #!/bin/sh
> ..code..
> }}}
> 
> After upgrading from v1.5.8 to v1.8.2 the #!/bin/sh lines are no longer
> visible. How would I get them back?
> 
> (Please Cc: replies to me)

you need to give the parser name which you want to use for highlighting.
In that case we have had no bash highlighter. So you have to use #!plain

{{{#!plain
#!/bin/sh
 ..code..
}}}

The highlight parser based on pygments was added to 1.9 see
http://moinmo.in/ParserMarket/highlight
It does highlight bash scripts and many other formats.

cheers
Reimar


> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Moin-user mailing list
> Moin-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkm+Yv8ACgkQ5aOc3Q9hk/mXggCfQMewmuO0egCBARy60mLhx/2i
UdMAnR4l/L3Efr+SrzbzdqHEjDvd89bl
=xvq1
-----END PGP SIGNATURE-----





More information about the Moin-user mailing list