I Need to insert records into a file just above the last row .
like i have a file which has records as shown below :
i want to introduce the below records above the tail i.e. last row and also edit the last row which has the row number in the ending i.e.12923 here as shown above with the updated row number, two records i want to add are stored in a file :
Output should be :
would appreciate if i get help here .
I have 20000 numbers present in a file in each line like
25663,
65465,
74579,
56446,
..
..
I have created a table in db with single number column in it.
create table testhari (no number(9));
I want to insert all these numbers into that table. how can i do it?
can anybody please... (4 Replies)
I have a flat file and need to count no of records in the file less the header and the trailer record.
I would appreciate any and all asistance
Thanks
Hadi Lalani (2 Replies)
Hello,
I'm having a files with variable no of lines. An example for this file is as follows
~xxx
STRT 0.0000000000 :
STOP :
~xxxxx
0.000000 557.109552 -557.109552
1511.482910 -954.373377 954.373377
in the STOP line below the 0.00000000000 I need... (8 Replies)
Hi All,
I have two files say file1 and file2.
I want to check the number of records in file1 and if its atleast 2 (i.e., 2 or greater than 2 ) then I have to check records in file2 .If records in file2 is atleast 1 (i.e. if its not empty ) i have to set some conditions .
Could you pls... (3 Replies)
Hi everyone.
I am a newbie to Linux stuff. I have this kind of problem which couldn't solve alone. I have a text file with records separated by empty lines like this:
ID: 20
Name: X
Age: 19
ID: 21
Name: Z
ID: 22
Email: xxx@yahoo.com
Name: Y
Age: 19
I want to grep records that... (4 Replies)
Hi All,
I am trying to split a record into multiple records based on a value.
Input.txt
"A",1,0,10
"B",2,0,10,15,20
"C",3,11,14,16,19,21,23
"D",1,0,5
My desired output is:
"A",1,0,10
"B",2,0,10
"B",2,15,20
"C",3,11,14
"C",3,16,19
"C",3,21,23 (4 Replies)
I have 2 files
"File 1" is delimited by ";" and "File 2" is delimited by "|".
File 1 below (3 record shown):
Doc1;03/01/2012;New York;6 Main Street;Mr. Smith 1;Mr. Jones
Doc2;03/01/2012;Syracuse;876 Broadway;John Davis;Barbara Lull
Doc3;03/01/2012;Buffalo;779 Old Windy Road;Charles... (2 Replies)
Hello, my apologizes if the title is a bit confusing. I am currently working with a series of files that have the form:
2
3
7
17
21
However, I need to insert records such that I have:
0 0
1 0
2 1
3 1
4 0
5 0
6 0
7 1
.... And so on.
Currently I have the... (2 Replies)
Hi I am new to shell programming in unix
Please if I can provide help.
I have a file structure of a header record and "N" detail records.
The header record will be the total number of detail records
I need to split the file in 2:
One for the header
Another for all detail records
Could... (1 Reply)
Discussion started by: jamcogar
1 Replies
LEARN ABOUT DEBIAN
lire::records
Records(3pm) LogReport's Lire Documentation Records(3pm)NAME
Lire::Records - Base class for implementation of the records operator.
SYNOPSIS
use Lire::Records;
DESCRIPTION
This module is the base class for implementation of the records operator. The records operator isn't an aggregator nor a group operation.
It only collects information on each DLF records which will be included in the report.
CONSTRUCTOR
new( %params )
Creates a new instance of a records operator. In addition to the normal report operator parameters, the records operator takes one
additional parameter:
fields
A reference to an array containing the names of the DLF field that should be included in the report.
METHOD
fields( [$new_fields] )
Returns a reference to an array containing the DLF field names that will be included in the report.
You can use the $new_fields parameter to change that value.
ops()
FIXME
SEE ALSO Lire::ReportSpec(3pm), Lire::Aggregate(3pm),
Lire::ReportOperator(3pm), Lire::Group(3pm), Lire::Timegroup(3pm),
Lire::Timeslot(3pm), Lire::Rangegroup(3pm)AUTHORS
Francis J. Lacoste <flacoste@logreport.org>
Wolfgang Sourdeau <wsourdeau@logerpotr.org>
VERSION
$Id: Records.pm,v 1.24 2006/07/23 13:16:29 vanbaal Exp $
COPYRIGHT
Copyright (C) 2001-2004 Stichting LogReport Foundation LogReport@LogReport.org
This file is part of Lire.
Lire is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with
http://www.gnu.org/copyleft/gpl.html.
Lire 2.1.1 2006-07-23 Records(3pm)