summaryrefslogtreecommitdiff
path: root/configs/sim/axis/ini_with_includes/README
blob: 1caff7c9a4ecd8e3bc6c842c4a740d1cbc4aa258 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
ini_with_includes

Demo for using a #INCLUDE directive(s) in an ini file

Examples:
1) relative file spec (relative to ini dir):
#INCLUDE filename.inc
#INCLUDE ./filename.inc
#INCLUDE ../filename.inc

2) absolute file spec:
#INCLUDE /tmp/filename.inc
#INCLUDE /home/myname/inc/filename.inc

3) tilde file spec:
#INCLUDE ~/linuxcnc/myincludes/filename.inc

Note:

The .inc suffix is recommended for included files.

Using a .ini suffix would mistakenly allow the partial file to appear as a config choice.