pavement

Template:Code

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
m
Line 11: Line 11:
  
 
''<nowiki>{{code|ls /etc/rc.conf </nowiki><nowiki><nowiki> | </nowiki></nowiki><nowiki> grep ifconfig}}</nowiki>'' produces {{code|ls /etc/rc.conf <nowiki>|</nowiki> grep ifconfig}}
 
''<nowiki>{{code|ls /etc/rc.conf </nowiki><nowiki><nowiki> | </nowiki></nowiki><nowiki> grep ifconfig}}</nowiki>'' produces {{code|ls /etc/rc.conf <nowiki>|</nowiki> grep ifconfig}}
</noinclude>
+
 
  
 
<!--<nowiki><nowiki> | </nowiki></nowiki> this many is needed. First suppress the pipe, then to show the instruction to the reader-->
 
<!--<nowiki><nowiki> | </nowiki></nowiki> this many is needed. First suppress the pipe, then to show the instruction to the reader-->
 +
</noinclude>

Revision as of 00:58, 30 October 2015

{{{1}}}

Usage:

Indicates code text. For use within paragraphs. Template isn't functional with use of pipes "|", equal signs "=" and other special characters. nowiki tags may be used to suppress the pipe and equal functions.


Examples:

{{code|kldstat -v}} produces kldstat -v.

{{code|ls /etc/rc.conf <nowiki> | </nowiki> grep ifconfig}} produces ls /etc/rc.conf | grep ifconfig


Personal tools