Sample Header Ad - 728x90

`seq` and bash brace expansion failing

5 votes
2 answers
563 views
IINM my system is failing when _bashing_ for i in {0..10000000}; # Seven zeroes. do false; done # bash exited and its tmux pane/window was closed. or for i in $(seq 0 10000000); # Seven zeroes. do false; done # bash exited and its tmux pane/window was closed. but not when for i in {0..1000000}; # Six zeroes. do false; done # Finished correctly. Can you please briefly explain the internals of this behavior and prompt a workaround for getting the task done?
Asked by 41754 (95 rep)
Aug 27, 2014, 12:24 PM
Last activity: Nov 2, 2020, 05:09 AM