Changes

660 bytes added ,  00:57, 27 April 2010
Created page with '<big><pre>{{{1}}}</pre></big><noinclude> ==Usage== {{Block|<nowiki>{{Block|code block}}</nowiki>}} Used to display a block of code in an enlarged, monospace typeface within a …'
<big><pre>{{{1}}}</pre></big><noinclude>

==Usage==

{{Block|<nowiki>{{Block|code block}}</nowiki>}}

Used to display a block of code in an enlarged, monospace typeface within a gray block like the following:

{{Block|
#!/bin/bash -x
#
# The -x above and the export PS4 (debug prompt) assignment below will help in debugging
# long scripts by reporting the line number : script : effective userid : function names
# to the standard output by through the environment variables.
#

export PS4='+(${LINENO}:${BASH_SOURCE}:${EUID}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }'

# script code to follow.
}}

See also [[:Template:Code]] for {{Code|code lines or words}}.