Search Results

Search: Posts Made By: jacost
2,472
Posted By jacost
XMLfile parsher
Hi all
Does anyone know how I can parse an xml file and get only some data? For example:
<?xml version="1.0"?>
<!--?xml-stylesheet type="text/xsl" href="irpexamle.xsl"?-->
<mdc>
<md>
...
8,527
Posted By jacost
My version::
I did the following:
egrep 'mob:|pref:' filename

the only problem (minor) was that there was an output like difficult to follow like
mob=xxxx
pref=yyyy
mob=xxxx
pref=yyyy...

Anyway now I...
8,527
Posted By jacost
thanks dudes, it was very helpful!!!
thanks dudes, it was very helpful!!!
8,527
Posted By jacost
parse text or complex grep ?
I have the following file (records from db) and I need to retrieve in another file only two variables and their values. I have a command but works only for one value.
grep ^mob: R25-subs.ldi | sed...
Showing results 1 to 4 of 4

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