I have sourced a property file in my script like this to load some variables in the script
Then i am able to echo all the property file values inside script but the script is not able to recognize other unix commands
#!/bin/bash
. build.properties
mkdir build
i am getting error ... (3 Replies)
Hi,
I have a property file called "inspector.properties".
In this property file stands the following:
inspect=ON
Now I want to have a shell script that when you run it, changes the ON in OFF in this property file.
Is this possible with sed?
Can anybody help me with this?
Tnx very much. (5 Replies)
Hi All,
I have 2 properties files - one is a master templete and other one is a node specific properties file, I need to comapre these 2 properties files and make sure the node Specific properties file contains all the properties in the master temple properties file else report the missing... (5 Replies)
Hi!
i need a script that can read a property file.
i.e., A script to read a "property" from property file.
Read the property value and
based on value of property, decide whether to start the some dataload activity or not.
Its urngent. Can anyone help me out???:( (7 Replies)
I have to do a read operation for a field in property file, which looks like follows:
123|xyz|datetime|count
'|' is delimiter.
Finally I managed to read the contents of property file using statement like
cut -d"|" -f1 $PROPERTIES_FILE | tr '\n' ' ' <-- Reading first column
But now I... (2 Replies)
Hi genius,
Following is the problem.
We have one templete file(input file) where some variables will be used
Example:
word1 word2 &{word3}
word4 ${word5} word6
And also we have one property file where we define these variables
Example:
word3= something
Word5= something
Need to read... (5 Replies)
I'm trying to export URLs from within a JSON file which in turn resulted from export of Mozilla-Firefox bookmarks. Its single line file with below given values from awk
$ awk 'END { print NR }' bookmarks.json
1
$ awk 'END { print NF }' bookmarks.json
2706
$ awk -F, 'END { print NF }'... (6 Replies)
All,
Have a weird issue where i need to generate a report from GitHub monthly detailing user accounts and the last time they logged in. I'm using a windows box to do this (work issued) and would like to know if anyone has any experience scripting for GitAPI using windows / cygwin / powershell?... (9 Replies)