Help:Script Samples: Difference between revisions

Content deleted Content added
Line 217:
 
 
Or use <code>&#123;&#123pre123;pre|code goes here&#125;&#125;</code> tempaltetemplate:
<pre>
{{Pre|class=black-white|
[caleb_cooper@ola cfd7416402094f6a2b8dcbccb9bad4d439b1d21a]$ egrep -c "0x0000244[57]" node_[ab]/command_output/pmcli/netinfo.txt
{{Color|purple|node_a/command_output/pmcli/netinfo.txt}}{{Color|cyan|:}}{{H|4|red}}
{{Color|purple|node_b/command_output/pmcli/netinfo.txt}}{{Color|cyan|:}}0
[caleb_cooper@ola cfd7416402094f6a2b8dcbccb9bad4d439b1d21a]$
Line 230:
{{Pre|class=black-white|
[caleb_cooper@ola cfd7416402094f6a2b8dcbccb9bad4d439b1d21a]$ egrep -c "0x0000244[57]" node_[ab]/command_output/pmcli/netinfo.txt
{{Color|purple|node_a/command_output/pmcli/netinfo.txt}}{{Color|cyan|:}}{{H|4|red}}
{{Color|purple|node_b/command_output/pmcli/netinfo.txt}}{{Color|cyan|:}}0
[caleb_cooper@ola cfd7416402094f6a2b8dcbccb9bad4d439b1d21a]$
}}
 
{{Tip| in this example <code>&#123;&#123;pre&#125;&#125;</code> was used in conjunction with <code>&#123;&#123;Color&#125;&#125;</code> (to provide a text color change) and <code>&#123;&#123;H&#125;&#125;</code> to change the background color of the font for the number 4}}