User Tools

Site Tools


docs:guide-user:base-system:uci

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
docs:guide-user:base-system:uci [2018/07/09 10:47]
ewtoombs Forgot to outdent the second line in the indentation example.
docs:guide-user:base-system:uci [2018/07/09 10:48] (current)
ewtoombs whoops, indentation actually was already mentioned.
Line 95: Line 95:
  
 A ''#''​ begins comments in the usual way. Specifically,​ if a line contains a ''#''​ outside of a string literal, it and all characters after it in the line are considered a comment and ignored. A ''#''​ begins comments in the usual way. Specifically,​ if a line contains a ''#''​ outside of a string literal, it and all characters after it in the line are considered a comment and ignored.
- 
-Indentation is not significant,​ so 
- 
-<​code>​config '​example'​ '​test'​ 
-        option ​  '​string' ​     'some value'</​code>​ 
- 
-has the same meaning as 
- 
-<​code>​config '​example'​ '​test'​ 
-option ​  '​string' ​     'some value'</​code>​ 
- 
-The indent is just for legibility. 
  
 Below is an example of a simple configuration file (see also [[#​uci_dataobject_model]]):​ Below is an example of a simple configuration file (see also [[#​uci_dataobject_model]]):​
docs/guide-user/base-system/uci.txt · Last modified: 2018/07/09 10:48 by ewtoombs