0
BASH For loop as an example from a PHP tutorial
Both examples do the same, but the second is more like PHP. #!/bin/bash MAX=5 for A in `seq 0 $MAX` do echo "Value of a : $A" done #!/bin/bash MAX=6 for ((A=0; A<$MAX; A++)) do echo "Value of a : $A" done
2 Réponses
+ 1
You might want to actually make a code out of this or make it a post.
0
It is only for someone who looks for bash.