w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
How in OS/X to get 'seq' command-line functionality?

On my mac both of these work (OS X 10.8.5)

Andreas-Wederbrands-MacBook-Pro:~ raven$ for i in {1..10}; do
echo $i; done
1
2
3
4
5
6
7
8
9
10
Andreas-Wederbrands-MacBook-Pro:~ raven$ for i in `seq 1 10`; do echo $i;
done
1
2
3
4
5
6
7
8
9
10




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.