Isabella Bosia
Isabella Bosia
``` echo "$FUNCNAME" ^-- SC2128: Expanding an array without an index only gives the first element. ``` `FUNCNAME` is special and it's fine that way
I don't know if shellcheck understands how blocks are parsed... Can it suggest that these don't work as expected? ``` bash alias a=b; shopt -s extglob; a +(x) { alias...
i haven't tried to read the whole line 148 but it uses `\d` and that's wrong ``` $ [[ d =~ \d ]] && echo match match ```
your example with `run_server( "3490" );` doesn't work if the struct has default arguments ``` c #include struct run_server_options { char * port; int backlog; }; #define run_server( ... )...
posix requires base 10 numbers, so 010 should equal 10 and not 8
it must not compute `strlen(haystack)` ``` c char haystack[] = { 'A', 'A', ...... 10GB ...... 'A', 0 }, needle[] = { 'A', 0 }; char *ptr = strstr(haystack, needle);...