We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 37a99f8 + 82cbc8c commit edb3273Copy full SHA for edb3273
t/check-non-portable-shell.pl
@@ -35,6 +35,7 @@ sub err {
35
chomp;
36
}
37
38
+ /\bcp\s+-a/ and err 'cp -a is not portable';
39
/\bsed\s+-i/ and err 'sed -i is not portable';
40
/\becho\s+-[neE]/ and err 'echo with option is not portable (use printf)';
41
/^\s*declare\s+/ and err 'arrays/declare not portable';
0 commit comments