mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 13:48:03 +08:00

Corrects #6110 BSD `seq` produces a down-counting sequence when the second argument is smaller than the first, e.g.: $ seq 2 1 2 1 $ While GNU `seq` produces no output at all: $ seq 2 1 $ To accommodate for this behavior, only run `seq` when we are sure that the second argument is greater than or equal to the first (in this case, the second argument `line_count` should be greater than 1).