Search Results

Search: Posts Made By: penyu
Forum: Programming 11-23-2009
3,456
Posted By penyu
well, frankly, I only want to show output of my...
well, frankly, I only want to show output of my filtered xml file, like this, as xml :
<bookstore>

<book category="COOKING">
<title lang="en">Everyday Italian</title>
<author>Giada De...
1,457
Posted By penyu
Hi Dennis, thank you for replying.:) I think...
Hi Dennis, thank you for replying.:)
I think your script will useful if we know how deep the tree of the xml file.
is it possible to parse more complex xml file with unknown deep of path tree?...
Forum: Programming 11-17-2009
3,456
Posted By penyu
DOM query selected path and show as xml
First, I am sorry if this question not this room scope,

I have a XML file :

file: book.xml

<?xml version="1.0" encoding="ISO-8859-1"?>

<bookstore>

<book category="COOKING">
<title...
1,457
Posted By penyu
Script for showing only selected nodes
Dear all,

I am bit confused lately, I have a xmlfile here:

file: book.xml

<?xml version="1.0" encoding="ISO-8859-1"?>

<bookstore>

<book category="COOKING">
<title lang="en">Everyday...
Forum: IP Networking 10-28-2008
11,014
Posted By penyu
network segment use vlan, linux vconfig and AT-GS950
Dear all,

I have a Allied Telesyn AT-GS950 16 port switch.
All hosts&router have rtl8139 NICs.
OS : Slackware linux 12.1.
I use a switch with vlan technique to separate my network to some...
3,527
Posted By penyu
please correct my script with more efficient...
please correct my script with more efficient sript :


awk '
NR==FNR{user[$1]=$1;userv[$1"1"]=0;userv[$1"2"]=0;userv[$1"3"]=0;userv[$1"4"]=0}
NR!=FNR{
if($2=="var1")
userv[$1"1"]+=$3...
3,527
Posted By penyu
hello, I got stuck again, how to make this...
hello, I got stuck again,
how to make this table convert horizontally :

userA var1 1000
userA var1 1200
userA var2 2000
userA var2 1000
userB var2 3000
userB var3 4000
userB var3 2000...
3,527
Posted By penyu
amazing!! both of your script solving my problem....
amazing!! both of your script solving my problem.
thank you summer_cherry, your script execution faster. :)

thank you all.. :)
3,527
Posted By penyu
does awk more easy to solve this problem? ...
does awk more easy to solve this problem?
please help me if you have another simple technique using shell...
4,495
Posted By penyu
maybe this solve the problem? to print content...
maybe this solve the problem?
to print content between two string:

awk '/Header3/,/Trailer/' inputfile
3,527
Posted By penyu
how to arrange 3 file to one using awk...?
I have 3 file, I want to re-arrange so all data easy to read from one file only:

file1 :
userA 10 20
userB 30 40
userC 50 60
....

file2 :
userA var1 1000
userA var2 2000
userB var2 3000...
Showing results 1 to 11 of 11

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