-
Notifications
You must be signed in to change notification settings - Fork 0
Multi Line Controls
Kyle Johnston edited this page Aug 13, 2025
·
2 revisions
In addition to single-line controls described in the README, a block of code can be controlled to specific devices using multi-line cntrols. To use a multi-line control, place the code to be controlled between two tags.
COMMENT_SYM{begin filetailor DEVICES...}
(Code being controlled)
COMMENT_SYM{end filetailor DEVICES...}Note: multi-line comment symbols such as /* and */ from C are not supported. Multi-line comments are implented as multiple single-line comments.
How the code should be written on device1 or device2:
#{begin filetailor device1 device2}
export $ABC="/home/dir1/abc"
export $ABC="/home/dir1/abc"
#{end filetailor device1 device2}How the code would look on any other device:
#{begin filetailor device1 device2}
# export $ABC="/home/dir1/abc"
# export $ABC="/home/dir1/abc"
#{end filetailor device1 device2}