2019-05-05 10:53:09 +00:00
|
|
|
if seq --version 2>/dev/null >/dev/null #GNU
|
|
|
|
complete -c seq -s f -l format -d 'Use printf style floating-point FORMAT'
|
|
|
|
complete -c seq -s s -l separator -d 'Use STRING to separate numbers'
|
|
|
|
complete -c seq -s w -l equal-width -d 'Equalize width with leading zeroes'
|
|
|
|
complete -c seq -l help -d 'Display this help'
|
|
|
|
complete -c seq -l version -d 'Output version information'
|
2015-12-10 14:20:46 +00:00
|
|
|
else #OS X
|
2019-05-05 10:53:09 +00:00
|
|
|
complete -c seq -s f -d 'Use printf style floating-point FORMAT'
|
|
|
|
complete -c seq -s s -d 'Use STRING to separate numbers'
|
|
|
|
complete -c seq -s w -d 'Equalize width with leading zeroes'
|
|
|
|
complete -c seq -s t -d 'Use STRING to terminate sequence of numbers'
|
2015-12-10 14:20:46 +00:00
|
|
|
end
|