Help, I need to get the port number of a Oracle database using the tnsping command. I need to parse it's output.
=====================
Attempting to contact (ADDRESS=(PROTOCOL=TCP)(Host=chamar)(Port=1541))
Sometimes may be like this:
Attempting to contact... (8 Replies)
hi,:)
onsider the followinf two lines
J="$(scriptbc -p 8 $I / \(12 \* 100 \) )"
N="$(( $L * 12 ))"
In the first line I put \ before * like \* and its working fine.
But in the second line if put \ before * i am getting parse error.
What might be the reason?Any idea pls.
cheers
RRK (1 Reply)
Hi
I'm writing simple perl script to parse the ftp log as below:
Local directory now /home/user/testing
227 Entering Passive Mode (192,254,19,34,8,228).
125 Data connection already open; Transfer starting.
09-25-09 02:33PM 25333629 abc.tar
09-14-09 12:50PM 18015752... (1 Reply)
On the command, when I type in certain commands, they will display a prompt waiting for some input. When I type in the requested input, it will display the info I requested.
For example, if I enter the telnet command, it will display a telnet prompt and wait for me to enter something.
I... (1 Reply)
Hi,
I have a really simple question...I think. I want to be able to parse two or more files into one by reading the first record from each file into new file then go back to the first file and start reading the second record in from each file into new file and so on. I am new to using awk and am... (5 Replies)
Attached file is parsed so that only the three columns result.
DACH1 occurs 34 times with an average of 0.881541
NEB occurs 159 times with an average of 0.837628
LTBP1 occurs 46 times with an average of 0.748722
parse result: output.txt (the text is removed and the xxx is seperated in a... (6 Replies)
I downloaded source code using:
wget -qO- http://fulgentdiagnostics.com/test/clinical-exome/ | cat > flugentsource.txt
Now I am trying to use sed to parse it to confirm a gene count. Basically, output (flugent.txt) all the gene names with a total count after them
I'm not all that... (5 Replies)
I am trying to parse a string using SQL but am too new and still learning. I have text in a control or field 685 that is variable, but always the same format.
field 685 input
arr 2q33.3q34(200,900,700-209,000,000)x2 xxx
Desired output
2:200900700-209000000
Basically, the # after the... (2 Replies)
Discussion started by: cmccabe
2 Replies
LEARN ABOUT DEBIAN
mdb-schema
MDBTools(1)MDBTools(1)NAME
mdb-schema - Generate schema creation DDL
SYNOPSIS
mdb-schema [options] database [backend]
DESCRIPTION
mdb-schema is a utility program distributed with MDB Tools.
It produces DDL (data definition language) output for the given database. This can be passed to another database to create a replica of the
original access table format.
OPTIONS -T <table>, --table <table>
Single table option. Create schema for this table only. Default is to export all tables.
-N namespace
Prefix identifiers with namespace.
--drop-table
Issue DROP TABLE statement.
--no-drop-table
Don't issue DROP TABLE statement. This is the default.
--not-null
Issue NOT NULL constraints. This is the default.
--no-not-null
Don't issue NOT NULL constraints.
--default-values
Issue DEFAULT values.
--no-default-values
Don't issue DEFAULT values. This is the default.
--not-empty
Issue CHECK <> '' constraints.
--no-not-empty
Don't issue CHECK <> '' constraints. This is the default.
--indexes
Export INDEXes. This is the default.
--no-indexes
Don't export INDEXes.
--relations
Export foreign keys constraints. This is the default.
--no-relations
Don't export foreign keys constraints.
backend
Specifies target DDL dialect. Supported values are access, sybase, oracle, postgres, and mysql. If not specified the generated DDL
will be in access format.
ENVIRONMENT
MDB_JET3_CHARSET
Defines the charset of the input JET3 (access 97) file. Default is CP1252. See iconv(1).
MDBICONV
Defines the output charset to use for the SQL file. Default is UTF-8. mdbtools must have been compiled with iconv.
MDBOPTS
semi-column separated list of options:
o use_index
o no_memo
o debug_like
o debug_write
o debug_usage
o debug_ole
o debug_row
o debug_props
o debug_all is a shortcut for all debug_* options
NOTES HISTORY
mdb-schema first appeared in MDB Tools 0.1.
SEE ALSO gmdb2(1)mdb-export(1)mdb-hexdump(1)mdb-prop(1)mdb-sql(1)mdb-ver(1)mdb-array(1)mdb-header(1)mdb-parsecsv(1)mdb-tables(1)AUTHORS
The mdb-schema utility was written by Brian Bruns and others.
BUGS
Relationships and other features may not be supported by all databases. Access datatypes are mapped to their closest counterparts in the
target backend. This may not always yield an exact fit.
0.7 13 July 2013 MDBTools(1)