I am using MKS tool kit on windows server. One config variable is defined in windows environment and I am trying to use that variable.
root_dir has '\\' in it and because of this , derived variable 'src' is not getting resolved properly and I am getting error "system can not find the file specified"
Hi All,
I have a requirement to parse a file.
Let me clear you all on the req.
I have a job which contains multiple tasks and each task will have multiple attributes that will be in the below format. Each task will have some sequence number according to that sequence number tasks shld... (0 Replies)
Hi,
I want to use a config file as the base file and parse over the values of country and city parameters in the config file and generate separate config files as explained below.
I will be using the config file as mentioned below:
(config.txt)
country:a,b
city:1,2
type:b1... (1 Reply)
Hi all, I've done some searching here but haven't found exactly what I'm looking for so I thought I'd post up and see if someone can help out.
I'm working on a shell script that I would like to store environment variables in an external file. I'm familiar with sourcing a file with variables in... (1 Reply)
Hi,
I have a config file that has blank, commented lines. I need to escape commented lines, blank lines, parse the remaining lines and store them in variables or array.
the config file contains the following lines.
# config file
# Define Oracle User
ORA_USER=abcde
ORA_PASS=xyzabc... (8 Replies)
Hi,
i'm trying to parse a config file that have alot of rows similar to this one:
Example value value value
What i want to do is to split and save the row above in a hash, like this:
Example = value value value
Basically i want to split on the first whitespace after the first... (3 Replies)
Folks,
I'm a perl moron, so please speak very slowly. : )
I'm modifying a build script that starts up an apache server. Now there is a .config file that hardcodes an old webserver path like this c:\oldWebserver. Now I don't want that hardcoded value, rather wish to use an... (3 Replies)
Hope someone can help, I've been pulling my hair out with this one...
I've written a shell script that does a sanity check on our quite extensive Nagios configuration for anything that needs cleaning up but wouldn't make the Nagios daemon necessarily bork or complain.
One section of the script... (2 Replies)
Hi ,
I have a config _file that has 3 columns (Id Name Value ) with many rows . In my bash script i want to be able to parse the file and do a mapping of any Id value
so if i have Id of say brand1 then i can use the name (server5X) and Value (CCCC) and so on ...
Id Name ... (2 Replies)
hi, all.
I got a question about awk:
If I have a lot of awk files for different tasks, but they'll share the same base directory, log setting, action lists, etc., is it possible to import them from a config file, so that I don't have to put them into each awk file?
For example, I need a... (8 Replies)
Hi All,
Seeking for your assistance on how to put in variables all the commands in /bin
config files: /home/test/config_file/config.cfg
cat /home/test/config_file/config.cfg
ECHO=/bin/echo
LS=/bin/lsMain script
cat test.sh
source=/home/test/config_file/config.cfg
ECHO=$ECHO
LS=$LS#i... (3 Replies)
Discussion started by: znesotomayor
3 Replies
LEARN ABOUT DEBIAN
sb2-config
sb2-config(1) sb2-config man page sb2-config(1)NAME
sb2-config - scratchbox2 configuration tool
SYNOPSIS
sb2-config [OPTION]... [COMMAND [PARAMS]]
DESCRIPTION
sb2-config is used to set and display configuration of existing targets.
OPTIONS -d default_target
This option sets the default sb2 target. The name of the target will be written to your $HOME/.scratchbox2/config file.
-l lists all available targets in your system. The names listed can be used as a parameter to the -d option.
-h Display short help.
-v Show version of this tool.
-t target
select target to be used with commands (below)
COMMANDS
showtarget
show default target.
showlog
show configuration log
showenv
show target-specific environment variables
setenv VARIABLE VALUE
set target-specific environment variable. The value becomes effective when sb2 is executed.
clearenv VARIABLE
set clearing for target-specific environment variable
unsetenv VARIABLE
remove target-specific environment variable
EXAMPLES
$ sb2-config -d diablo41_armel
This command sets your default target to be diablo41_armel.
$ sb2-config -l
This example lists all installed targets in your host. The names listed can be used as a parameter to the -d option.
SEE ALSO sb2(1), sb2-init(1), sb2-show(1)AUTHOR
Lauri Leukkunen
2.2 17 December 2010 sb2-config(1)