Server IP : 68.65.122.142 / Your IP : 18.227.140.100 Web Server : LiteSpeed System : Linux server167.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : glenirhm ( 1318) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/locale/bo/../bla/../no.us-ascii/../roa/../rm/../az/../gay/../../awk/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
# shell_quote --- quote an argument for passing to the shell # # Michael Brennan # brennan@madronabluff.com # September 2014 function shell_quote(s, # parameter SINGLE, QSINGLE, i, X, n, ret) # locals { if (s == "") return "\"\"" SINGLE = "\x27" # single quote QSINGLE = "\"\x27\"" n = split(s, X, SINGLE) ret = SINGLE X[1] SINGLE for (i = 2; i <= n; i++) ret = ret QSINGLE SINGLE X[i] SINGLE return ret }