Search Results

Search: Posts Made By: valigula
3,370
Posted By valigula
IFrames error using wget
Hi all,

I am trying to connect to a apache server via wget, to automatically download and manipulate few reports.
wget -O partner_log --user-agent='Mozilla/5.0' --keep-session-cookies...
1,583
Posted By valigula
Thank you all, I will have a look at the scripts....
Thank you all, I will have a look at the scripts.

i use the following work-around it does the trick.

cat select.txt list_ids.txt end_query.txt > query.sql

Thank you all
1,583
Posted By valigula
Dynamic sql where contents
Hi all,

I need to add the contents from a file into a sql stament in the where clause.

file1:

id
1
2
3
10
11
...

script should look like :

select name from tab_user tus where ...
3,489
Posted By valigula
Sorry for my terrible writting. First i was...
Sorry for my terrible writting.

First i was asked to search for orderLinks with status = Completed. But it was too many exception (other statuses to be consider) , so know i rather do a "different...
3,489
Posted By valigula
There is a new recuriments. I was ask not to...
There is a new recuriments. I was ask not to search for Status = Completed but all the others differents thatn Rejected.

Can this be done using the current awk ?

$ awk -F"[><]" ' /orderLink/ {...
1,347
Posted By valigula
Really apreciate your feed-back very helpfull. ...
Really apreciate your feed-back very helpfull.

For anyone interested there is this thread https://www.unix.com/shell-programming-scripting/47434-join-two-files.html

Thanks
3,489
Posted By valigula
Thanks, i will have a look.
Thanks, i will have a look.
3,489
Posted By valigula
Hi drewk , The file it is already on my...
Hi drewk ,

The file it is already on my local machine , first use wget to login and download the page i was need. Did it this way mainly because did not know how to do it online ( without...
1,347
Posted By valigula
Join two files values duplciating first file
Hi all,

I am tryin to join two files, duplicating the alues from the first one as many times as the second.

File one :
11 211

File two:
a
b
c

Result:
11 211 a
11 211 b
11 211...
3,489
Posted By valigula
Actually after playing a little bit with AWK, i...
Actually after playing a little bit with AWK, i found

$ awk -F"[><]" ' /orderLink/ { f=1; _ord=$5; } f && /status/ { $5="Complete"; f =0; print _ord", " $5}' /tmp/9054329.htm | tail -1

Thanks
3,489
Posted By valigula
Itinerate throught HTML table
HI all,


<html>
<body>
<div>
<table id="orderList">
<thead>
<tr>
<th>order number</th>
<th>order type</th>
<th>product type</th>
...
3,725
Posted By valigula
Test in a couple of cases ( with a few...
Test in a couple of cases ( with a few modifications and this is just owesome!)

I will totally teted and give you the feed-back in how it went.

Thanks

---------- Post updated at 11:43 AM...
3,725
Posted By valigula
Thanks for your reply that is a sort...
Thanks for your reply

that is a sort example of the html code


<html>
<body>
<table>
<thead>
<tr>
<th>number</th>
<th>product...
3,725
Posted By valigula
Get HTML table
Hi all,

I have a html that contains several tables in it. Need to extract the data from one of them named "orderList". Is it any easy way without using loops.

Thanks
Showing results 1 to 14 of 14

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