Description : Escape arbitrary strings for use as command
line arguments
Generally this is the wrong approach and commands should be run
through fork+exec instead of escaping them and passing them
through
the shell.
https://bonedaddy.net/pabs3/log/2014/02/17/pid-preservation-society/
escargs utility escargs reads lines from the standard input
and prints
shell-escaped versions. Unlinke xargs, blank lines on the
standard input are
not discarded.
There is already the shell-quote too from
libstring-shellquote-perl in
Debian if you want something to run from an interactive shell.
Also xargs doesn't discard blank lines if you don't use the
unsafe
variants of it. xargs without the -d or -0 options is unsafe.