plugin_tag(3) Supportconfig Plugin Library Manual plugin_tag(3) NAME plugin_tag - Displays the message <string> with a section line that includes the <label>. SYNOPSIS plugin_tag <label> <string> DESCRIPTION Displays the message string with the <label> inside the section line and the <string> in the comment area. It is used frequently in place of plugin_command(3) when you want to display a different command than the one you actually execute. Output: #==[ <label> ]======================================# # <string> EXAMPLES The following plugin functions: plugin_command "ls -al /mount/" plugin_tag "Command" "ls -l /mount/" ls -al /mount/ Would produce the following output: #==[ Command ]======================================# # /bin/ls -al /mount/ total 24 drwxr-xr-x 2 jrecord users 4096 Oct 6 11:19 . drwxr-xr-x 62 jrecord users 12288 Oct 6 11:25 .. -rw-r--r-- 1 jrecord users 300 Oct 6 11:19 xvmnt.conf -rw-r--r-- 1 jrecord users 179 Oct 6 11:20 xvmnt.xml #==[ Command ]===============================# # ls -l /mount/ total 24 drwxr-xr-x 2 jrecord users 4096 Oct 6 11:19 . drwxr-xr-x 62 jrecord users 12288 Oct 6 11:25 .. -rw-r--r-- 1 jrecord users 300 Oct 6 11:19 xvmnt.conf -rw-r--r-- 1 jrecord users 179 Oct 6 11:20 xvmnt.xml REPORTING BUGS Please submit bug fixes or comments via: http://en.opensuse.org/Suppor‐ tutils#Reporting_Bugs AUTHOR Jason Record <jrecord@suse.com> SEE ALSO supportconfig(8) supportconfig.conf(5) scplugin.rc(3) section_header(3) pconf_files(3) plog_files(3) plugin_message(3) plugin_command(3) vali‐ date_rpm(3) plugin_tag 06 Oct 2010 plugin_tag(3)[top]
Vote for polarhome |