summaryrefslogtreecommitdiff
path: root/units/remote-fs-pre.target
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2015-06-23 10:32:02 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2015-08-07 15:50:43 +0000
commit61ee6939819963b7845c101485e188ca2a8119c6 (patch)
treead6314638c8818c8eff49201eeb74e699f5977a7 /units/remote-fs-pre.target
parent8ef24e7a4f4b4d464b66fa7d3f0acaa88800d6cb (diff)
util: Add shell_escape
This is for shell-style \ escaping rather than quoting, which while it has the same effect in produced shell commands, is not exclusively useful for shell commands. shell_escape would be useful for producing sed commands, as you would be able to \ escape the normal special characters, plus whichever argument separator was chosen; or it could be used to escape arguments passed to the overlayfs mount command.
Diffstat (limited to 'units/remote-fs-pre.target')
0 files changed, 0 insertions, 0 deletions