Help:Script Samples: Difference between revisions

Content deleted Content added
Line 204:
 
 
{{Caution|Note that <code>{{eq}}</code> and <code>{{!}}</code> always have to be escaped in templates, the templates <code>&#123;&#123;!&#125;&#125;</code> and <code>&#123;&#123;eq&#125;&#125;</code> have been provided for this purpose, example below requiring this}}
 
<pre>
{{Pre|class=blue-white|# for i in $(diskview -I s {{!}} awk '/Online/{print $2}'); do echo -e "\n::: ${i} :::"; dd if{{eq}}/dev/rpd${i}d bs{{eq}}512 count{{eq}}1 of{{eq}}/pss/cc/o-dsb-${i}.bin; done}}
</pre>
 
 
{{Pre|class=blue-white|# for i in $(diskview -I s {{!}} awk '/Online/{print $2}'); do echo -e "\n::: ${i} :::"; dd if{{eq}}/dev/rpd${i}d bs{{eq}}512 count{{eq}}1 of{{eq}}/pss/cc/o-dsb-${i}.bin; done}}