Search Results

Search: Posts Made By: KDDubai333
2,776
Posted By KDDubai333
This is not working...anyone can suggest some...
This is not working...anyone can suggest some other solution.
3,162
Posted By KDDubai333
Voilą !!! that was the only problem.. after...
Voilą !!! that was the only problem.. after converting in unix format . all solutions works...!!

Thanks much Scrutinizer, RavinderSingh13 and SriniShoo. :D :*


Solution 1:
awk 'NR == FNR{a[$1]...
3,162
Posted By KDDubai333
Dear Scrutinizer, I have tried your suggestion...
Dear Scrutinizer,
I have tried your suggestion on HP-UX and Linux both servers and getting below in output.

</properties>...
3,162
Posted By KDDubai333
i am helpless :( why not working on my machine....
i am helpless :( why not working on my machine. may be due to diff O.S. or shell...i hope you have double checked with my files given in post 15. appreciate your efforts helping in this.

do you...
3,162
Posted By KDDubai333
Hi R.Singh, I am giving my files and output...
Hi R.Singh,

I am giving my files and output from your latest post.

##passwd.txt

user_1_app {AES}333paUEqje9PJXuoxRreB42dTkejdudHavfDZDhyDUd7AJLkyFfOu0VYxjg47tNz...
3,162
Posted By KDDubai333
in post 11, it was my mistake as i thought you...
in post 11, it was my mistake as i thought you are using latest password file format.
with your latest code. output is same as post 9.
can you please check with latest password file format, if that...
3,162
Posted By KDDubai333
Hi Ravinder, password did not change as per the...
Hi Ravinder, password did not change as per the passwd.txt file.


[cs2050@hostname DS-change]$ cat passwd.txt
user_1_app {AES}333paUEqje9PJXuoxRreB42dTkejdudHavfDZDhyDUd7AJLkyFfOu0VYxjg47tNz...
3,162
Posted By KDDubai333
Hi SriniShoo, Executed and observed below...
Hi SriniShoo,
Executed and observed below problem.


[cs2050@hostname DS-change]$ awk 'NR == FNR{a[$1] = $2; next} /<value>/ {split($0, t, />|</); v=t[3]} /<password-encrypted>/ && a[v]...
3,162
Posted By KDDubai333
Hi Srinishoo, seems to be partially working...I...
Hi Srinishoo, seems to be partially working...I faced below problem.
<password-encrypted> starting tag changed to closed tag (</password-encrypted>)...and closed tag is missing.
My OS : Linux...
3,162
Posted By KDDubai333
Thanks Ravinder for your reply. I faced below...
Thanks Ravinder for your reply.
I faced below problems with your solution.

1) the awk output is changing when similar other file is supplied.

#executed on other similar file.

[user@host...
3,162
Posted By KDDubai333
Find/replace in file from another file.
Dear Shell Expert,
I have requirement of replacing passwd field in number of files based on username in them.
The matching username and "new" password in available in a separate file. below is the...
2,776
Posted By KDDubai333
Can you please make search and replace for me.
Can you please make search and replace for me.
2,776
Posted By KDDubai333
Replacing old TNS entries with New one in multiple files
I have requirement to replace old TNS entries with New one in multiple files.
one file may contain more then one occurrence of tns.

Example: Below is the one of occurrence in a current file(s)....
Showing results 1 to 13 of 13

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