I am trying to iterate over all unsigned int (32bits). I thought I could simply do:
#!/bin/bash
for i in {0..4294967295}; do
echo $i
done
However with bash 4.1, all it prints out is:
$ ./loop.sh
0
-1
I certainly cannot use $seq() construction, so how does one do a for loop in bash over all uint32 ?