We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85cd5e7 commit 86ff9ccCopy full SHA for 86ff9cc
pipeline/inputs/exec.md
@@ -177,7 +177,7 @@ Take great care with shell quoting and escaping when wrapping commands.
177
178
A script like the following can ruin your day if someone passes it the argument `$(rm -rf /my/important/files; echo "deleted your stuff!")'`
179
180
-```bash
+```shell
181
#!/bin/bash
182
# This is a DANGEROUS example of what NOT to do, NEVER DO THIS
183
exec fluent-bit \
@@ -190,7 +190,7 @@ exec fluent-bit \
190
191
The previous script would be safer if written with:
192
193
194
-p command='echo '"$(printf '%q' "$@")" \
195
```
196
0 commit comments