09-10-2016
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I would like to use the result of a query in another query. How do I redirect/add the output to another variable?
$result = odbc_exec($connect, $query);
while ($row = odbc_fetch_array($result)) {
echo $row,"\n";
}
odbc_close($connect);
?>
This will output hostnames:
host1... (0 Replies)
Discussion started by: hazno
0 Replies
2. UNIX and Linux Applications
I am trying to query a list of hosts and extract all entries which 'dont' match.
SELECT LOGS.host, GOODLIST.host FROM LOGS,db.GOODLIST WHERE (LOGS.host <> GOODLIST.host)When I use this query, it is very very slow. Matching the host with the GOODLIST.host works great and fast but when I use <>... (1 Reply)
Discussion started by: hazno
1 Replies
3. Shell Programming and Scripting
Hi,
I have a requirement as below which needs to be done viz UNIX shell script
(1) I have to connect to an Oracle database
(2) Exexute "SELECT field_status from table 1" query on one of the tables.
(3) Based on the result that I get from point (2), I have to update another table in the... (6 Replies)
Discussion started by: balaeswari
6 Replies
4. Programming
I know little SQL and could really use a hand here. I need to get the fields last_name, first_name and email from the table users and only if the entery with the same pkey in the table addresses, in the city column is Seattle.
So if the city in the addresses table is Seattle, go to the table... (2 Replies)
Discussion started by: computethis
2 Replies
5. Shell Programming and Scripting
Hi,
I need to query Oracle database for 100 users. I have these 100 users in a file. I need a shell script which would read this User file (one user at a time) & query database.
For instance:
USER CITY
--------- ----------
A CITY_A
B CITY_B
C ... (2 Replies)
Discussion started by: DevendraG
2 Replies
6. Shell Programming and Scripting
not getting anywhere with this
an xml file contains multiple clients set up with same tags, different values.
I need to parse the file for client foo, and change the value of tag "64bit" from false to true.
cat clients.xml
<Client type"FIX">
<ClientName>foo</ClientName>... (3 Replies)
Discussion started by: jack.bauer
3 Replies
7. Shell Programming and Scripting
Hello All,
I have a requirement in which i will be given a sql query as input in a file with dynamic number of columns. For example some times i will get 5 columns, some times 8 columns etc up to 20 columns.
So my requirement is to generate a output query which will have 20 columns all the... (7 Replies)
Discussion started by: vikas_trl
7 Replies
8. Shell Programming and Scripting
I am trying to create a cronjob that will run on startup that will look at a list.txt file to see if there is a later version of a database using database.txt as the source. The matching lines are written to output.
$1 in database.txt will be in list.txt as a partial match. $2 of database.txt... (2 Replies)
Discussion started by: cmccabe
2 Replies
9. Shell Programming and Scripting
In the awk below I am trying to output those lines that Match between file1 and file2, those Missing in file1, and those missing in file2. Using each $1,$2,$4,$5 value as a key to match on, that is if those 4 fields are found in both files the match, but if those 4 fields are not found then missing... (0 Replies)
Discussion started by: cmccabe
0 Replies
10. UNIX for Beginners Questions & Answers
Hi,
i have 2 files , the data i need to match is in masterfile and i need to pull out column 3 from master if column 1 and 2 match and output entire row to new file
I have tried with join and awk and i keep getting blank outputs or same file
is there an easier way than what i am... (4 Replies)
Discussion started by: axis88
4 Replies
LEARN ABOUT DEBIAN
dvbscan
dvbscan(1) General Commands Manual dvbscan(1)
NAME
dvbscan - a program to produce DVB-T channels.conf files.
SYNOPSIS
dvbscan [options]<initialscanfile>
DESCRIPTION
This manual page documents briefly the dvbscan commands.
dvbscan is a program to produce DVB-T channels.conf files.
OPTIONS
-h print this help text
-adapter <id>
adapter to use (default 0)
-frontend <id>
frontend to use (default 0)
-demux <id>
demux to use (default 0)
-secfile <filename>
Optional sec.conf file
-secid <secid>
ID of the SEC configuration to use, one of: * UNIVERSAL (default) - Europe, 10800 to 11800 MHz and 11600 to 12700 Mhz, Dual
LO, loband 9750, hiband 10600 MHz * DBS - Expressvu, North America, 12200 to 12700 MHz, Single LO, 11250 MHz * STANDARD -
10945 to 11450 Mhz, Single LO, 10000 Mhz * ENHANCED - Astra, 10700 to 11700 MHz, Single LO, 9750 MHz * C-BAND - Big Dish,
3700 to 4200 MHz, Single LO, 5150 Mhz * C-MULTI - Big Dish - Multipoint LNBf, 3700 to 4200 MHz, Dual LO, H:5150MHz, V:5750MHz
* One of the sec definitions from the secfile if supplied
-satpos <position>
Specify DISEQC switch position for DVB-S
-inversion <on|off|auto>
Specify inversion (default: auto)
-uk-ordering
Use UK DVB-T channel ordering if present.
-timeout <secs>
Specify filter timeout to use (standard specced values will be used by default)
-filter <filter>
Specify service filter, a comma seperated list of the following tokens: If no filter is supplied, all services will be output *
tv - Output TV channels * radio - Output radio channels * other - Output other channels * encrypted - Output
encrypted channels
-out raw <filename>|-
Output in raw format to <filename> or stdout -out channels <filename>|- Output in channels.conf format to <filename> or stdout -out
vdr12 <filename>|- Output in vdr 1.2.x format to <filename> or stdout -out vdr13 <filename>|- Output in vdr 1.3.x format to <file-
name> or stdout
This manual page was written by Uwe Bugla <uwe.bugla@gmx.de>.
February 14, 2009 dvbscan(1)