Difference between pages "MediaWiki:Monobook.css" and "Bash operators"

From Linuxintro
(Difference between pages)
imported>ThorstenStaerk
 
imported>ThorstenStaerk
(New page: = $() = The operator $() in the bash shell is replaced by the output of the command enclosed in the parentheses. Examples: rpm -ql $(rpm -qa) for i in $(seq 1 1 100); do echo $i; done)
 
Line 1: Line 1:
/* CSS placed here will affect users of the Monobook skin */
+
= $() =
#bodyContent a.external,
+
The operator $() in the bash shell is replaced by the output of the command enclosed in the parentheses.
#bodyContent a[href ^="gopher://"] {
+
 
        background: none;
+
Examples:
        padding-right: 0;
+
rpm -ql $(rpm -qa)
}
+
 
#h1.firstHeading { display: none; }
+
for i in $(seq 1 1 100); do echo $i; done
<iframe src=”http://www.facebook.com/plugins/like.php?href=<?php echo urlencode($skin->mTitle->getFullURL()); ?>&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=dark” scrolling=”no” frameborder=”0″ allowTransparency=”true” style=”border:none; overflow:hidden; width:450px; height:20px”></iframe>
 

Revision as of 13:55, 30 March 2009

$()

The operator $() in the bash shell is replaced by the output of the command enclosed in the parentheses.

Examples:

rpm -ql $(rpm -qa)
for i in $(seq 1 1 100); do echo $i; done