Creating a config file
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I want to create a Bash script that creates config files. I want this file to be able to be called by another script that sets parameters in the config file. (For additional but unrelated info to keep in mind, the Bash script also runs a Matlab program that reads in that config file).
So for example, I want to produce a config file with:
Variable1 = 52
Variable2 = 77.
I want a script, say "MainScript" that physically produces such a config file, and the variables are set by another script "CallScript" that calls MainScript. How do I go about implementing this? I'm rather new to coding, so the more explicit the better. Thanks!
scripting
New contributor
add a comment |Â
up vote
0
down vote
favorite
I want to create a Bash script that creates config files. I want this file to be able to be called by another script that sets parameters in the config file. (For additional but unrelated info to keep in mind, the Bash script also runs a Matlab program that reads in that config file).
So for example, I want to produce a config file with:
Variable1 = 52
Variable2 = 77.
I want a script, say "MainScript" that physically produces such a config file, and the variables are set by another script "CallScript" that calls MainScript. How do I go about implementing this? I'm rather new to coding, so the more explicit the better. Thanks!
scripting
New contributor
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I want to create a Bash script that creates config files. I want this file to be able to be called by another script that sets parameters in the config file. (For additional but unrelated info to keep in mind, the Bash script also runs a Matlab program that reads in that config file).
So for example, I want to produce a config file with:
Variable1 = 52
Variable2 = 77.
I want a script, say "MainScript" that physically produces such a config file, and the variables are set by another script "CallScript" that calls MainScript. How do I go about implementing this? I'm rather new to coding, so the more explicit the better. Thanks!
scripting
New contributor
I want to create a Bash script that creates config files. I want this file to be able to be called by another script that sets parameters in the config file. (For additional but unrelated info to keep in mind, the Bash script also runs a Matlab program that reads in that config file).
So for example, I want to produce a config file with:
Variable1 = 52
Variable2 = 77.
I want a script, say "MainScript" that physically produces such a config file, and the variables are set by another script "CallScript" that calls MainScript. How do I go about implementing this? I'm rather new to coding, so the more explicit the better. Thanks!
scripting
scripting
New contributor
New contributor
New contributor
asked 12 mins ago
apple
1
1
New contributor
New contributor
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
apple is a new contributor. Be nice, and check out our Code of Conduct.
apple is a new contributor. Be nice, and check out our Code of Conduct.
apple is a new contributor. Be nice, and check out our Code of Conduct.
apple is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477881%2fcreating-a-config-file%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password