You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.
Scripting builtins
Implement
if
,while
andforeach
control structures and the special expression syntax.Control structures
if (<expr>) then ... [else ... ]endif
while (<expr>) ... end
foreach <var> (<words>) ... end
Expressions
+
,-
,*
,/
,%
)+
and-
are right-associative==
,!=
,<
,<=
,>
,>=
)==
and!=
compare strings; the rest, numbers=~
,!~
)&&
,||
,!
)~
,&
,|
,^
,<<
,>>
)()
)Null or missing operands are considered to be 0.
File inquiries (
-<letter> <file>
)r
,w
,x
: Read, write and execute permissions respectivelyo
: Have ownershipe
: Is (Existence)z
: Is empty (zero size file)f
: Is regular filed
: Is directoryThe text was updated successfully, but these errors were encountered: