Help:Script Samples: Difference between revisions
Content deleted Content added
Caleb Cooper (talk | contribs) |
Caleb Cooper (talk | contribs) |
||
Line 148:
{{Tip|Because syntaxhighlight wraps everything in a <code><div></code> it works to indent with <code>;</code> and <code>:</code> as below}}
<pre>
; Something to notice in bash example below
:<syntaxhighlight lang=bash inline>
#!/bin/bash fileCount=800000 b=0 while [ $b -le $fileCount ] do echo B = $b dd if=/dev/urandom of=/mnt/nfs/file$b.txt bs=2k count=1 ((b++)) done
</syntaxhighlight>
</pre>
; Something to notice in bash example below
| |||