9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi expert,
i Have log like :
dn: EPC-Per=673,HYHGU
objectClass: EPC-PerSubs
ownerId: 0
groupId: 4001
shareTree: nodeName=HYHGU
permissions: 15
EPC-Per: 673
dn:... (2 Replies)
Discussion started by: justbow
2 Replies
2. Shell Programming and Scripting
when i run this command:
tail -200 /var/log/httpd/access_log | awk -F'' '{sub(/:*$/,"",$2);print $2}'
i get:
13/Aug/2012:20:56
13/Aug/2012:20:56
13/Aug/2012:20:56
13/Aug/2012:20:56
13/Aug/2012:20:56
13/Aug/2012:20:56
13/Aug/2012:20:56
13/Aug/2012:20:56
13/Aug/2012:20:56... (3 Replies)
Discussion started by: SkySmart
3 Replies
3. Shell Programming and Scripting
hi all,
I have oracle table which has like below example in col7 & col8 there will be values seperated , in one column it is kind of horizontal pivoting but the data is in 1 column seprated ,
In near future this col7 and col8 may have some more values
col7 * col8 that many records it... (1 Reply)
Discussion started by: marpadga18
1 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I have a series of logs that I need to analyse.
each looks something like:234.10.72.175 Mon Mar 02 20:25:00 GMT 2009
226.91.87.86 Thu Mar 05 03:50:26 GMT 2009
226.91.87.86 Thu Mar 05 04:06:07 GMT 2009
Using awk, so far I have been able to count the lines in a... (5 Replies)
Discussion started by: Freaky
5 Replies
5. Shell Programming and Scripting
Hi,
I am trying to edit an XML file automatically but my regex and shell script knowledge is very limited. I would appreciate your help fellows.
The XML file has this structure:
<?xml version="1.0" encoding="UTF-8"?>
<map map_file="maps/world.swf" zoom="350%" zoom_x="-115%"... (1 Reply)
Discussion started by: boonymagique
1 Replies
6. UNIX for Dummies Questions & Answers
How can one take the log of a column using AWK?:( (4 Replies)
Discussion started by: cosmologist
4 Replies
7. Shell Programming and Scripting
Hi Master,
I've log in here
then try parsing log become :
3GPP-IMSI,Calling-Station-Id
528111500111614,6738790448
528111500068173,6738769831
.....
it is possible to use awk?
cause i 've try
awk '
/\Accounting\ /{f=1}
f && /\3GPP-IMSI \:\ String Value\ /{imsi=$4}
f &&... (1 Reply)
Discussion started by: bowbowz
1 Replies
8. UNIX for Dummies Questions & Answers
Hello. I'm trying to use the awk command to convert certains fields to lgo base 2, not base 10.
I'm trying command lines like:
awk '$2 $5 $7 {print log(2)($2), log(2)($5), $7) filein.txt > fileout.txt
I'm trying to make a deadline.
Thanks for helping a newbie. Here's some fresh karma... (1 Reply)
Discussion started by: jmzcal
1 Replies
9. UNIX for Dummies Questions & Answers
Hy,
I wrote new article on Numerical Systems and Transformations yesterday evening (on my C Lessons Project webpage) and would like to share it with you. If someone can help me format my text for this forum, I would appreciate it, so I culd post full article here..
Here's intro:
"Our... (0 Replies)
Discussion started by: vurdlak
0 Replies