Search Results

Search: Posts Made By: forevercalz
1,648
Posted By forevercalz
can anyone explain this codes here?
nawk 'FNR > 3 {printf("%s%c", $0, OFS)}END{print ""}' "$1" > "$1".out && mv "$1
".out "$1"

what is FNR? or printf("%s%c",$0, OFS)}?

sorry..im lost...
4,652
Posted By forevercalz
thanks alot kduffin :)
thanks alot kduffin :)
4,652
Posted By forevercalz
thanks alot for the link! :)
thanks alot for the link! :)
4,652
Posted By forevercalz
thanks for your great help..erm can you explain...
thanks for your great help..erm can you explain to me the coding?? so that i can use that for further extraction of other xml files....
4,652
Posted By forevercalz
hi.. i got this error when i try this code.. ...
hi.. i got this error when i try this code..
awk: syntax error near line 1
awk: bailing out near line 1
4,652
Posted By forevercalz
how to get xml tag..
Sorry to trouble you guys again.....but i encounter this problem:
My textfile contains this:
2006-01-12 01:12:08,290 [ExecuteThread: '1' for queue: 'default'] INFO - The XML message...
5,318
Posted By forevercalz
thanks very much !
thanks very much !
5,318
Posted By forevercalz
how to substitute more than one word in a text file?
well i have this file here:

<XML>
<pregate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<system_c>HPREGATE</system_c>
<trans_c>HSPG</trans_c>
...
2,534
Posted By forevercalz
thanks for the codes :)
thanks for the codes :)
2,534
Posted By forevercalz
getting multiple xml tag
sorry for the trouble......
i have this file that contains the following:
00:00:21 Queue key, Queue Name=[GMS_Q,jms/citos/gms/HssQueue]
00:00:21 Sending Message :<EXGC-EXGU...
3,014
Posted By forevercalz
Oh yes! finally....thanks for your wonderous...
Oh yes! finally....thanks for your wonderous help......u are genius..
3,014
Posted By forevercalz
oh its related.. i get the outputrecord.txt from...
oh its related.. i get the outputrecord.txt from the command u give earlier...
i used the sed coding you give which is
sed -n -e '/<record /{N;s_.*\(<record .*<\/record>\)_\1_p;}' in.txt
and i...
3,014
Posted By forevercalz
ok..the file extracted is called outputrecord.txt...
ok..the file extracted is called outputrecord.txt and it contain this
2005-12-05 10:53:34,663 [ExecuteThread: '0' for queue: 'default'] INFO - etb is null
<record...
3,014
Posted By forevercalz
thanks for the coding...... however the output...
thanks for the coding......
however the output still contains a line that i need to delete..any idea?
<record...
3,014
Posted By forevercalz
linuxpenguin..i tried your code...but it doesnt...
linuxpenguin..i tried your code...but it doesnt work too..
3,014
Posted By forevercalz
i got this problem :[/tmp]$: not found
i got this problem :[/tmp]$: not found
4,201
Posted By forevercalz
thanks vino :)
thanks vino :)
4,201
Posted By forevercalz
thanks vino for your help :)
thanks vino for your help :)
3,014
Posted By forevercalz
how to get specific xml tag ?
sorry to trouble u guys again...
i have this document here called record.txt and it contains this:
2005-12-05 10:53:17,551 [ExecuteThread: '0' for queue: 'default'] INFO - message received......
4,201
Posted By forevercalz
thanks :) however i need to put this in a script...
thanks :) however i need to put this in a script so i try to write this down:

`sed -e 's_^.\{,2\}:.\{,2\}:.\{,2\} .*<pregate_<pregate_g' p.txt > sample.modified`

however i get this msg :
sed:...
4,201
Posted By forevercalz
how to delete away text in a file?
I have this xml file which is call p.txt and it contains the follwing:
16:13:56 Msg send to Queue=[<pregate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<system_c>HPREGATE</system_c>...
18,745
Posted By forevercalz
hi ygor :P yes im using oracle..thanks for you...
hi ygor :P yes im using oracle..thanks for you effort in helping me with this scripts..you totally understand my problem..thanks...
3,693
Posted By forevercalz
ok..thanks...i get it..thanks so much for great...
ok..thanks...i get it..thanks so much for great help....... :) :) :) :) :) :) :)
3,693
Posted By forevercalz
thanks...it works now...i get this... ...
thanks...it works now...i get this...
SQL*Loader: Release 9.2.0.5.0 - Production on Thu Dec 15 10:59:41 2005

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

Commit point...
3,693
Posted By forevercalz
hi..mona..i changed it to ...control=test.cfg...
hi..mona..i changed it to ...control=test.cfg data=$1 ...... this in my load.script...and i get this error....
syntax error at 'data' following '='
Syntax error on command-line
Showing results 1 to 25 of 74

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