2 ms·
Which shebang was your script using? If it was #!/usr/bin/env sh then shellheck would report SC3010: In POSIX sh, [[ ]] is undefined. .
by DrewRWx 6y ago
Which shebang was your script using?
If it was
#!/usr/bin/env sh
then shellheck would report
SC3010: In POSIX sh, [[ ]] is undefined.
.
- pvinis 6y agoIt was with bash, not sh. Hm interesting.