fish, version 3.7.0
If we run random with the START and END the same, we get an error:
$ random 0 0
random: END must be greater than START
This makes it harder to use random as a tool in other scripts, since it might be possible that there is exact one option.
I think it would make sense to allow the START and END to be the same and thus then always return the START.
fish, version 3.7.0
If we run
randomwith the START and END the same, we get an error:This makes it harder to use
randomas a tool in other scripts, since it might be possible that there is exact one option.I think it would make sense to allow the START and END to be the same and thus then always return the START.