Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash sequence

seq FIRST INCREMENT LAST


for i in $(seq 2.5 .1 5);
do
    # Print the value
    echo $i;
done

2.5
2.6
2.7
2.8
.......

 
PREVIOUS NEXT
Tagged: #bash #sequence
ADD COMMENT
Topic
Name
6+5 =