We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
sh
#!/bin/sh for i in {1..5}; do ...
Here, $i expands to {1..5}. It does not expand to the sequence 1 2 3 4 5
$i
{1..5}
1 2 3 4 5
For simple sequences of numbers, you may use the seq command, e.g. seq 1 5.
seq
seq 1 5
None
ShellCheck
Installation
Usage
Integrating and extending
Severity
Template
Each individual ShellCheck warning has its own wiki page like SC1000. Use GitHub Wiki's "Pages" feature above to find a specific one, or see Checks.