Line indentation using tabs?
Hi, The comments in the 'users' file mentions lines should be indented with a tab when providing options below a user name. Do all the files require configuration lines to use tabs? Or is does it only matter for user entries? Are lines ignored if they are not indented with a tab? I notice most of the configuration files use hard tabs but I am not sure if this is convenient or enforced. Our coding setup uses spaces to replace tabs, so I need to make sure my deployed files are formatting correctly. Cheers, Dagan McGregor
On Apr 18, 2017, at 8:50 PM, Dagan McGregor <list@sudo.nz> wrote:,
The comments in the 'users' file mentions lines should be indented with a tab when providing options below a user name.
Do all the files require configuration lines to use tabs? Or is does it only matter for user entries?
If tabs are necessary, the documentations says they're necessary. Otherwise tabs aren't necessary.
Are lines ignored if they are not indented with a tab?
No.
I notice most of the configuration files use hard tabs but I am not sure if this is convenient or enforced.
It's convention.
Our coding setup uses spaces to replace tabs, so I need to make sure my deployed files are formatting correctly.
It's fine. Alan DeKok.
ONLY the users file as that is conformant to the livingston specification - which means the first entry (beginning of line) is a check item, the following , indented, lines are reply items. alan On 19 April 2017 at 01:50, Dagan McGregor <list@sudo.nz> wrote:
Hi,
The comments in the 'users' file mentions lines should be indented with a tab when providing options below a user name.
Do all the files require configuration lines to use tabs? Or is does it only matter for user entries?
Are lines ignored if they are not indented with a tab?
I notice most of the configuration files use hard tabs but I am not sure if this is convenient or enforced.
Our coding setup uses spaces to replace tabs, so I need to make sure my deployed files are formatting correctly.
Cheers, Dagan McGregor
- List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html
participants (3)
-
Alan Buxey -
Alan DeKok -
Dagan McGregor