mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Add GNU libtool impl
@@ -136,7 +136,7 @@ POSIX:
|
||||
|
||||
```sh
|
||||
# TODO: Interpret it back to printf escapes for hard-to-copy chars like \t?
|
||||
# See also: http://git.savannah.gnu.org/cgit/libtool.git/tree/gl/build-aux/funclib.sh?id=c60e054c36bb9a937e6d98fd87d6345d20b3f446#n1029
|
||||
# See also: http://git.savannah.gnu.org/cgit/libtool.git/tree/gl/build-aux/funclib.sh?id=c60e054#n1029
|
||||
reuse_quote()(
|
||||
for i; do echo -n \'; echo -n "$i" | sed -e "s/'/'\\\\''/g"; echo -n "' "; done
|
||||
)
|
||||
@@ -145,4 +145,4 @@ reuse_quote "$@"
|
||||
|
||||
## Exception
|
||||
|
||||
Depends on what your expected POSIX shell providers would use.
|
||||
Depends on what your expected POSIX shell providers would use.
|
Reference in New Issue
Block a user