mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 23:24:39 +00:00
Fix typo in seq.in
darcs-hash:20060809225230-ac50b-8371f5fd1a22526325d46f5a0565e3a38d51bb78.gz
This commit is contained in:
parent
a2c70f495e
commit
8207030b21
1 changed files with 1 additions and 1 deletions
2
seq.in
2
seq.in
|
@ -39,7 +39,7 @@ switch (count $argv)
|
|||
end
|
||||
|
||||
for i in $from $step $to
|
||||
if not echo $i | grep -E ^-?[0-9]*([0-9]*|\.[0-9]+)$' >/dev/null
|
||||
if not echo $i | grep -E '^-?[0-9]*([0-9]*|\.[0-9]+)$' >/dev/null
|
||||
printf (_ "%s: '%s' is not a number\n") seq $i
|
||||
exit 1
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue