Search Results

Search: Posts Made By: kaoboy97
10,411
Posted By Scrutinizer
IMO source is a bashism. According to the POSIX...
IMO source is a bashism. According to the POSIX spec a dot should be used:
. ~/.configfileShell Command Language (http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#dot)

--...
10,411
Posted By Corona688
If you make your config file a shell script, your...
If you make your config file a shell script, your loading script could be as simple as source ~/.configfile

Gentoo actually does this for its system config files(/etc/conf.d/...) So does firehol....
10,411
Posted By purdym
set -A is another option.
set -A

is another option.
10,411
Posted By GERMANICO
If ksh shell scripting make your config file ...
If ksh shell scripting make your config file

touch init.cfg

init.cfg:

#formulations properties (to shape without spaces and with separator "="
#...
10,411
Posted By Corona688
I don't see that you're actually loading the...
I don't see that you're actually loading the config file, it doesn't just happen unless you tell it. You have to do source config.configfile Which in your case might be source "$1" though you might...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 08:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy