# and Not having in #mlat_cmd=/usr/bin/python3.7 /usr/bin/mlat-client

Started by DZpower, May 10, 2021, 06:37:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DZpower

can someone explain what is the difference between having a # and Not
what is the correct setting to have ?

#mlat_cmd=/usr/bin/python3.7 /usr/bin/mlat-client

and

mlat_cmd=/usr/bin/python3.7 /usr/bin/mlat-client

Runway 31

From reply 74 from the MLAT thread

The rbfeeder has this line built in, and provides it if this lines is commented out. This command starts the mlat-client

Commenting out is better from possible upgrade of rbfeeder in future which may require changing python3.7 to say python3.8 or 3.9 or 4. Commenting it out will force new version of rbfeeder to use correct version built into it.

Alan

GlynH

Quote from: DZpower on May 10, 2021, 06:37:45 PM
can someone explain what is the difference between having a # and Not
what is the correct setting to have ?

#mlat_cmd=/usr/bin/python3.7 /usr/bin/mlat-client

and

mlat_cmd=/usr/bin/python3.7 /usr/bin/mlat-client

Whenever you see the # character it indicates everything in the line following is commented out i.e. the line is ignored when the file is parsed for example;

# To enable feature X, uncomment the line below
#FeatureX = Enabled

It is also useful as a placeholder and/or marker for example rather than having to trawl through lines of code looking for a particular entry you will often see characters like # followed by a description to make it easier to locate a refernce amongst lines & lines of text.

Other characters you might see serving a similar purpose might be <!-- or // or * for example.

Hope that helps?

Kind regards,
-=Glyn=-