Search Results

Search: Posts Made By: pradeepmacha
1,751
Posted By pradeepmacha
Need help with XML
I have a xml file and want to print the values.
i'm able to get the below line, but i want the out put as shown below.
awk '/<network nport/,/>/' test.xml
awk '/<network nport/,/>/' test.xml
...
1,979
Posted By pradeepmacha
Help in Editing XML files
I need some help in editing a xml file, I have 2 xml files, One is Master.xml and other is a upgrade.xml. I want to moved all the values from upgrade.xml to Master.xml. challenge is upgrade.xml...
1,421
Posted By pradeepmacha
[SOLVED] Read XML for solaris
Hello I have this script that works fine in Linux But not on sun solaris. Can some one help me with the awk syntax for solaris.

Linux: awk -F $0~/DBURL/ {print $7} /tmp/test.xml---------- Post...
3,796
Posted By pradeepmacha
Help on awk to read xml file
Hello,
I have a xml file as shown below. I want to parse the file and store data in variables.
xml file looks like:
<TEST NAME="DataBaseurl">jdbc:oracle:thin:@localhost:1521:ora10</TEST>
<TEST...
1,669
Posted By pradeepmacha
write to multiple files depending on file type (solved)
I want a script that will add comments to a file before check-in files. comments depend on type of files.
i have a script to list files in the directory that will be checked-in
There are xml, js,...
9,460
Posted By pradeepmacha
Thanks pravin..
Thanks pravin..
9,460
Posted By pradeepmacha
Hello Pravin, Thanks it looks good and works...
Hello Pravin,
Thanks it looks good and works file. regarding the last point. let me try and clarify it
file2 can look like
-------
test~yyyy
testing2~zzzz
/data/test/dddd
/data/test3/ffff...
9,460
Posted By pradeepmacha
Hello guys some one has posted his query in my...
Hello guys some one has posted his query in my post, hence I'm re posting my question.
Kindly help

I have a slight modification in my input files and need your help again. The logic of the script...
9,460
Posted By pradeepmacha
Hello All, I have a slight modification in my...
Hello All,
I have a slight modification in my input files and need your help again. The logic of the script remains the same except that the input file1 and file2 are

File1:...
9,460
Posted By pradeepmacha
Hello Pravin, thanks the script is working...
Hello Pravin, thanks the script is working perfectly fine. Could you please explain the script to me so that i can add error handling.
9,460
Posted By pradeepmacha
Hey pravin.. sorry to get back and open the old...
Hey pravin.. sorry to get back and open the old thread.. I had one more requirement on the same topic.
i forgot to mention that i need to recursively find the dependent files.
for eg: file1 line 2...
9,460
Posted By pradeepmacha
Thanks pravin the script works fine.. thank you...
Thanks pravin the script works fine.. thank you so much
9,460
Posted By pradeepmacha
Thanks pravin - file1 has list of all files and...
Thanks pravin - file1 has list of all files and dependencies ( its kinda master file), and file2 has only a subset of files that i require from file1.
for instance file1 has 100 files ( lines) and...
9,460
Posted By pradeepmacha
@ itkamaraj -- the path of the dependent file can...
@ itkamaraj -- the path of the dependent file can be any where. basically it has to find the dependent file under /data, it can be under /data/testing2/kkkk or /data/testing1/kkkk.
Sorry if Im...
9,460
Posted By pradeepmacha
Script to read file and extract data by matching pattern
Hello,
I have a file ( say file1) which has lines like below.
xxxx:xxxx,yyyy,1234,efgh
zzzz:zzzz,kkkk,pppp,1234,xxxx,uuuu,oooo
dddd:dddd

here the word before ":" ( ie: xxxx) is the...
16,062
Posted By pradeepmacha
Hello andryk, Thanks a lot...
Hello andryk,
Thanks a lot it helped.

Regards,
Pradeep
16,062
Posted By pradeepmacha
tar with password protect
Hello All,
i work with backup, The below script runs and tar the user specified dir and put it in a backup machine. can any one help me to modify this in such a was that the tar file...
9,450
Posted By pradeepmacha
Thanks a lot for the help it works, a small...
Thanks a lot for the help it works, a small change

toto=`telnet <machine name> 13`
datetime=`echo ${toto} | cut -d' ' -f9-12`
9,450
Posted By pradeepmacha
Hello all, Sorry for the delay in...
Hello all,
Sorry for the delay in reply. i knew about NTP but i wantd a script that would post a mail to me about this information.
i did try Telnet <machine name> 13 and it works but...
2,927
Posted By pradeepmacha
I'm sorry this did not work. can any one help me...
I'm sorry this did not work. can any one help me with some other solution.
9,450
Posted By pradeepmacha
verify date and time on unix
Hello all,
I'm sorry for such a silly help.
I have 8 unix machines which include AIX, IRIX, HPUX, SGI.
I wanted a script that would compare/ check the date and time on all machine and...
1,595
Posted By pradeepmacha
hi, Thanks for the information. I discovered...
hi,
Thanks for the information. I discovered that the problem was with patches.

tanks any ways,

Regards
pradeep
2,927
Posted By pradeepmacha
monitoring server
Hello,
I work with 4 flavour of UNIX ( AIX, IRIX, HPUX and SUN). I have a problem maintaing the system. can any one let me know of the software or script that will check the date,time...
1,595
Posted By pradeepmacha
AIX 5.2 problem
Hello,
I'm working on a AIX5.2 OS. The problem i'm facing is that the system performance is good in rrot login, but when i switch to other users login it is very slow. A ls or even pwd...
22,573
Posted By pradeepmacha
hello Vino, Thanks for the...
hello Vino,
Thanks for the solution i think it works, and i think i should mention 2022 instead of 2003 in that command right.
ca you do a favour, can you elobrate this command for me...
Showing results 1 to 25 of 35

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