mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated SC2039 (markdown)
@@ -134,7 +134,7 @@ printf '%q ' "$@"
|
|||||||
POSIX:
|
POSIX:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# TODO: possibly interpret it back to printf escapes for hard-to-copy chars like \t
|
# TODO: Interpret it back to printf escapes for hard-to-copy chars like \t?
|
||||||
reuse_quote()(
|
reuse_quote()(
|
||||||
for i; do echo -n \'; echo -n "$i" | sed -e "s/'/'\\\\''/g"; echo -n "' "; done
|
for i; do echo -n \'; echo -n "$i" | sed -e "s/'/'\\\\''/g"; echo -n "' "; done
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user