projects
/
oweals
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i18n: sync translations, cleanup
[oweals/luci.git]
/
modules
/
luci-base
/
luasrc
/
util.luadoc
diff --git
a/modules/luci-base/luasrc/util.luadoc
b/modules/luci-base/luasrc/util.luadoc
index 949aeb21c06c2be7b1d06629f86244ffc7098daf..79a17a2280483f4cb66349ea8e4db5f2636b2c10 100644
(file)
--- a/
modules/luci-base/luasrc/util.luadoc
+++ b/
modules/luci-base/luasrc/util.luadoc
@@
-82,6
+82,15
@@
Strip HTML tags from given string.
@return String with HTML tags stripped of
]]
@return String with HTML tags stripped of
]]
+---[[
+Safely quote value for use in shell commands.
+
+@class function
+@name shellquote
+@param value String containing the value to quote
+@return Single-quote enclosed string with embedded quotes escaped
+]]
+
---[[
Splits given string on a defined separator sequence and return a table
---[[
Splits given string on a defined separator sequence and return a table