%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/usr/share/webmin/authentic-theme/unauthenticated/js/codemirror/mode/shell/
Upload File :
Create Path :
Current File : //proc/self/root/usr/share/webmin/authentic-theme/unauthenticated/js/codemirror/mode/shell/test.js

!function(){function e(e){test.mode(e,t,Array.prototype.slice.call(arguments,1))}var t=CodeMirror.getMode({},"shell");e("var","text [def $var] text"),e("varBraces","text[def ${var}]text"),e("varVar","text [def $a$b] text"),e("varBracesVarBraces","text[def ${a}${b}]text"),e("singleQuotedVar","[string 'text $var text']"),e("singleQuotedVarBraces","[string 'text ${var} text']"),e("doubleQuotedVar",'[string "text ][def $var][string  text"]'),e("doubleQuotedVarBraces",'[string "text][def ${var}][string text"]'),e("doubleQuotedVarPunct",'[string "text ][def $@][string  text"]'),e("doubleQuotedVarVar",'[string "][def $a$b][string "]'),e("doubleQuotedVarBracesVarBraces",'[string "][def ${a}${b}][string "]'),e("notAString","text\\'text"),e("escapes",'outside\\\'\\"\\`\\\\[string "inside\\`\\\'\\"\\\\`\\$notAVar"]outside\\$\\(notASubShell\\)'),e("subshell","[builtin echo] [quote $(whoami)] s log, stardate [quote `date`]."),e("doubleQuotedSubshell",'[builtin echo] [string "][quote $(whoami)][string \'s log, stardate `date`."]'),e("hashbang","[meta #!/bin/bash]"),e("comment","text [comment # Blurb]"),e("numbers","[number 0] [number 1] [number 2]"),e("keywords","[keyword while] [atom true]; [keyword do]","  [builtin sleep] [number 3]","[keyword done]"),e("options","[builtin ls] [attribute -l] [attribute --human-readable]"),e("operator","[def var][operator =]value"),e("doubleParens","foo [quote $((bar))]"),e("nested braces","[builtin echo] [def ${A[${B}]]}]"),e("strings in parens","[def FOO][operator =]([quote $(<][string \"][def $MYDIR][string \"][quote /myfile grep ][string 'hello$'][quote )])"),e("string ending in dollar",'[def a][operator =][string "xyz$"]; [def b][operator =][string "y"]'),e("quote ending in dollar","[quote $(echo a$)]")}();

Zerion Mini Shell 1.0