Search Results

Search: Posts Made By: Ray-V
1,869
Posted By RudiC
It's a bash feature: echo {1..5} 1 2 3 4 5 ...
It's a bash feature:
echo {1..5}
1 2 3 4 5
set -- 1 5
echo {${1}..${2}}
{1..5}
You could use eval, but you should be very aware of its risks!
eval echo {${1}..${2}}
1 2 3 4 5
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 04:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy