Search Results

Search: Posts Made By: mvr
2,514
Posted By mvr
I dont want to disturb the file2,changes should...
I dont want to disturb the file2,changes should be done at the same place as they appear in file2.

The modified # lines should not be appended at the end .

Targetfile:
IP = 127.0.0;...
2,514
Posted By mvr
reffile: IP = 10.10.10.102; ...
reffile:
IP = 10.10.10.102;
#HostNameSelection = 0 ;
#DomainName = abc.com;#url1
Targetfile:
IP = 127.0.0;
#HostNameSelection = 1 ;
#DomainName = xyz.com;#url2

Targetfile should be...
2,514
Posted By mvr
this will give me the difference in the values of...
this will give me the difference in the values of lines beginning with # , how to copy the value at same line?
2,514
Posted By mvr
Help on Sed/awk/getting line number from file
I Have file1 with below lines :

#HostNameSelection=0 :NotUsed
#HostNameSelection=1 :Automatic
#HostNameSelection=3 :NotForced

I have file2 which has similar lines but with different values ...
Showing results 1 to 4 of 4

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