Search Results

Search: Posts Made By: nitin.pathak
2,195
Posted By nitin.pathak
Desired output would be : ...
Desired output would be :

CORE_DB2_ROOT_JAVA=/java/bin
# Add quotes around the name in case there are spaces in the name.
CORE_DB2_ROOT_JAVA="$CORE_DB2_ROOT_JAVA"
echo CORE_DB2_ROOT_JAVA...
2,195
Posted By nitin.pathak
find and replace issue using awk
Hi All,
point 1. I have n number of environment variable files in different folders. All file names are ending with one thing common ie, *envset.sh
point 2. All these contains Varilables and...
1,388
Posted By nitin.pathak
problem with awk script
Hi,
I have two files
Hi,
I have two files

file1 :>


Code:
val="10" port="localhost:8080"httpadd="http:\\192.168.0.239"
file2 :>


Code:
val=${val} val="pdssx"...
2,579
Posted By nitin.pathak
need some more help in above script
Hi,

Actually above script is replacing
a=${a}
as well as
a="something"
both...my requirment is to just replace a=${a} with the value in anotherfile.
Please help me in this.
2,579
Posted By nitin.pathak
I have following directory strcture and each...
I have following directory strcture and each directory contains *.env.sh file (which need to be replaced with variables as in above program)
Please help me out how to do it ?

my code is
awk...
2,579
Posted By nitin.pathak
YOU ARE ROCKING ..lets have a chilled beer today...
YOU ARE ROCKING ..lets have a chilled beer today :)
2,579
Posted By nitin.pathak
thanks and please explain
Dear Zaxxon Thanks very very much.. much.. and much....
This is working fine just need one more help ..can you please explain the code ? please i had nevere gone through awk...:)
2,579
Posted By nitin.pathak
thanks zaxxon, but my file 2 is as follow ...
thanks zaxxon,
but my file 2 is as follow

file2
some text here
val=${val}
some here
port=${port}
some text here
httpadd=${httpadd}
some text here
fileloc=${fileloc}

so i want to...
2,579
Posted By nitin.pathak
find and replace with sed
Hi,
I have two files

file1 :>

val="10"
port="localhost:8080"
httpadd="http:\\192.168.0.239"


file2 :>

val=${val}
port=${port}
httpadd=${httpadd}
fileloc=${fileloc}


file3(or...
Showing results 1 to 9 of 9

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