13,420
edits
Changes
no edit summary
|- valign="top"
|
{{Admon/tip|Bash Shell Scripting Tips:|<br><ul><li>'''Data Input:'''<br><br>x<br><br></li><li>'''Mathematical Expressions:'''<br><br></li><li>'''Loops (iteration):'''<br><br>x<br><br>'''<u>Examples (try in a shell script)</u>'''<br><br>''set ops235 is fun''<br>''for x''<br>''do''<br> ''echo "argument is $x"''<br>''done''<br><br>''for )$#41;x=10;x>=1; x--**''<br>''do''<br> ''echo "countdown: $x"''<br>''done''<br><br>'''if [ $grade -gt 79 ]'''<br>'''then'''<br> '''echo "You get Good Mark"'''<br>'''elif [ $grade -gt 49 ]'''<br>'''then'''<br> '''echo "You pass"'''<br>'''else'''<br> '''echo "You fail"'''<br>'''fi'''<br><br></li><li>'''Loops and Testing'''<br><br>x<br>. </li></ul>}}
|}