You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-util/checkbashisms/files/checkbashisms-2.0.0.2-expor...

17 lines
681 B

`export foor=bar` is valid in POSIX
https://sourceforge.net/p/checkbaskisms/checkbashisms/9/
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#export
https://bugs.gentoo.org/458392
--- a/checkbashisms
+++ b/checkbashisms
@@ -512,7 +512,6 @@
$LEADIN . qr'disown\s' => q<disown>,
$LEADIN . qr'enable\s' => q<enable>,
$LEADIN . qr'export\s+-[^p]' => q<export only takes -p as an option>,
- $LEADIN . qr'export\s+.+=' => q<export foo=bar should be foo=bar; export foo>,
$LEADIN . qr'mapfile\s' => q<mapfile>,
$LEADIN . qr'readarray\s' => q<readarray>,
$LEADIN . qr'readonly\s+-[af]' => q<readonly -[af]>,