X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=modules%2Fluci-base%2Fluasrc%2Futil.luadoc;fp=modules%2Fluci-base%2Fluasrc%2Futil.luadoc;h=79a17a2280483f4cb66349ea8e4db5f2636b2c10;hp=949aeb21c06c2be7b1d06629f86244ffc7098daf;hb=45cefe71f6069b088e14dd913eb382816acb945c;hpb=9e4b8a91384562e3baee724a52b72e30b1aa006d diff --git a/modules/luci-base/luasrc/util.luadoc b/modules/luci-base/luasrc/util.luadoc index 949aeb21c..79a17a228 100644 --- a/modules/luci-base/luasrc/util.luadoc +++ b/modules/luci-base/luasrc/util.luadoc @@ -83,6 +83,15 @@ Strip HTML tags from given string. ]] ---[[ +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 containing the resulting substrings. The optional max parameter specifies