LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Using scripts (https://www.linuxquestions.org/questions/linux-software-2/using-scripts-40534/)

Rameriez 01-06-2003 08:26 PM

Using scripts
 
Am trying to write a script to list some numbers in a given range, how do i express a word as a list of numbers, ie FOR nbr IN 2 - 10 ?? gives result:
2
-
10

Im after:
2
3
4
5
6
7
8
9
10

trickykid 01-06-2003 08:49 PM

Please do not double post, read the rules you agreed to when registering on this site:

http://www.linuxquestions.org/rules.php


All times are GMT -5. The time now is 07:16 PM.