Search Results

Search: Posts Made By: tejastrikez
1,087
Posted By tejastrikez
Fetch the different data by searching with a same variable from a file in AIX server
Hi,

I am trying to fetch the different values in an xml file by searching with the same variable in AIX Server.

<name>SharedResources/Shared/JNDI/Username</name>
...
1,709
Posted By tejastrikez
HI, Now I need one more help from you...
HI,

Now I need one more help from you people.

Again I am facing a problem with the below issue,

<InstanceName>SBXVIL-Instanfile</InstanceName>
.
.
.
<Name>JDBC/Name</Name>...
2,251
Posted By tejastrikez
Hi, I tried with the above perl command, but...
Hi,
I tried with the above perl command, but its thowring error.

where my xml file contains,
<NameValuePair>
<name>Security/SharedResources/Shared/JNDI/Username</name>
...
2,251
Posted By tejastrikez
How to print the next line by searching with different patterns in AIX server?
Hi,

I am having an '.xml' file with 'n' number of lines and also having another file with '.txt' format contains values which i want to search.

Now I want to print the next line with the...
1,709
Posted By tejastrikez
And now i want to change it to only one value ...
And now i want to change it to only one value
that means
If i want to change it to JDBC/password value then it doesnt effect to the JNDI/password value.

---------- Post updated at 06:15 AM...
1,709
Posted By tejastrikez
Scott, sed: -e expression #1, char 7:...
Scott,

sed: -e expression #1, char 7: unknown command: `u'

The above error has been displayed when i executed the below command

sed "/JDBC/userName/{N;s/admin/admin123/g;}" input.xml...
1,709
Posted By tejastrikez
Thanks Scott :) Its working fine. but in...
Thanks Scott :)

Its working fine.
but in the same file i am having name variable as
<name>/JDBC/userName</name>
<value>admin</value>
<name>/JDBC/password</name>
<value>admin</value...
1,709
Posted By tejastrikez
How to replace a same value fpr different variables with different values?
Hi,

Could anyone help me on the below problem :wall:,

I am having a .xml file as a input file with >1000 lines
In that i want to replace some values,
ex:
<name>username</name>
...
1,377
Posted By tejastrikez
Hi, I tried with threee codes For the first...
Hi,
I tried with threee codes
For the first two codes, I am getting same output which i am getting earlier.
there is no output for third code.

Please help me..
1,377
Posted By tejastrikez
Fetching the string using different patterns
HI,

Please help me with the following problem:
I have an xml file with the following lines

<NameValuePair>
<name>SharedResources/JDBC/Admin/password</name>
...
2,191
Posted By tejastrikez
thank you very much it's working fine... :) ...
thank you very much
it's working fine... :)
if you dont mine can you explain the flow of the command... :)
2,191
Posted By tejastrikez
How to fetch a string between two different strings?
Hi

I am having a file with content as,
<name>usrname</name> <value>ravistej</value>
<name>pswd</name> <value>asdfgzxcv</value>
.
.
.
.
<name>abc</name> <value>xyz</value>

From this...
1,458
Posted By tejastrikez
Actually in my .txt file i am having the values...
Actually in my .txt file i am having the values in the below format,

'abc/asd/zxw'

with these type of patterns, i have to search in .xml file and print the consecutive line.
1,458
Posted By tejastrikez
Thanq raj !! I corrected my awk command,...
Thanq raj !!

I corrected my awk command, but again i am getting the error as

awk -v $'l=SharedResources/JMS/username\r' '$0~l{print;getline; print}' ./sample.xml

I didnt understand the...
1,458
Posted By tejastrikez
print the next line by searching with different patterns
Hi,

I am having an '.xml' file with 'n' number of lines and also having another file with '.txt' format contains values which i want to search.

Now I want to print the next line with the...
Showing results 1 to 15 of 15

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