Hi,
From the pattern mentioned below remove lines based on pattern range.
Conditions
1 Look For all lines starting with ALTER TABLE and Ending with ; and contains the word MOVE.I wanto to remove these lines from the file sample below.
Note : The above pattern list could be found in... (1 Reply)
Hi,
I would like to know how can I get lines from a text file that match no more than 2 '>'. Example:
Input file:
a >cr1 4 a>b b>c
a >cr2 5 a>b
Output file:
a >cr2 5 a>b
Thanks in advance (2 Replies)
I have a very large file (10,000,000 lines), that contains a sample id and a property of that sample. I have another file that contains around 1,000,000 lines with sample ids that I want to remove from the original file (create a new file without these lines).
I know how to do this in Perl, but it... (9 Replies)
In the past I needed a help with the problem how to search for pattern after the occurence of another pattern which is described in this thread:
https://www.unix.com/shell-programmin...-pattern1.html
Now I would need something quite similar, only the pattern which is to be searched must be... (3 Replies)
Hi,
I have a file, which contains the following log data.
I am trying to print fromt he file the following data:
I have tried using sed, but I am getting from the first pattern
Thanks for your help. (5 Replies)
I have an output file which gives me the timely status of a server.
Sample file:
March 11 2014
21:10, 1, 2, 3, 4, 5, 6, 7, 8, 9, x, y, z...
21:05, 1, 2, 3, 4, 5, 6, 7, 8, 9, x, y, z...
21:00, 1, 2, 3, 4,... (3 Replies)
Hi,
i have been trying to extract multiple lines based on two different patterns as below:-
file1
@jkm|kdo|aas012|192.2.3.1 blablbalablablkabblablabla
sjfdsakfjladfjefhaghfagfkafagkjsghfalhfk
fhajkhfadjkhfalhflaffajkgfajkghfajkhgfkf
jahfjkhflkhalfdhfwearhahfl
@jkm|sdf|wud08q|168.2.1.3... (8 Replies)
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
LEARN ABOUT PHP
odbc_procedurecolumns
ODBC_PROCEDURECOLUMNS(3) 1 ODBC_PROCEDURECOLUMNS(3)odbc_procedurecolumns - Retrieve information about parameters to proceduresSYNOPSIS
resource odbc_procedurecolumns (resource $connection_id)
DESCRIPTION
resource odbc_procedurecolumns (resource $connection_id, string $qualifier, string $owner, string $proc, string $column)
Retrieve information about parameters to procedures.
PARAMETERS
o $connection_id
-The ODBC connection identifier, see odbc_connect(3) for details.
o $qualifier
- The qualifier.
o $owner
- The owner. This parameter accepts the following search patterns: "%" to match zero or more characters, and "_" to match a single
character.
o $proc
- The proc. This parameter accepts the following search patterns: "%" to match zero or more characters, and "_" to match a single
character.
o $column
- The column. This parameter accepts the following search patterns: "%" to match zero or more characters, and "_" to match a sin-
gle character.
RETURN VALUES
Returns the list of input and output parameters, as well as the columns that make up the result set for the specified procedures. Returns
an ODBC result identifier or FALSE on failure.
The result set has the following columns:
oPROCEDURE_QUALIFIER
oPROCEDURE_OWNER
oPROCEDURE_NAME
oCOLUMN_NAME
oCOLUMN_TYPE
oDATA_TYPE
oTYPE_NAME
oPRECISION
oLENGTH
oSCALE
oRADIX
oNULLABLE
oREMARKS
The result set is ordered by PROCEDURE_QUALIFIER, PROCEDURE_OWNER, PROCEDURE_NAME and COLUMN_TYPE.
PHP Documentation Group ODBC_PROCEDURECOLUMNS(3)