Hi all,
I hope you are well. I am very happy to see your contribution. I am eager to become part of it.
I have the following question. I have two huge files to compare (almost 3GB each). The files are simulation outputs. The format of the files are as below
For clear picture, please see attached image
File 1 File 2
----------------- -------------------
Time sig_name sig_val Time sig_name sig_val
Given the two files in the above format, how can i print out the following table from "efficient" file comparison. Efficiency is required as file size is over 3GB
Hi,
As per my requirement, I need to take difference between two big files(around 6.5 GB) and get the difference to a output file without any line numbers or '<' or '>' in front of each new line.
As DIFF command wont work for big files, i tried to use BDIFF instead.
I am getting incorrect... (13 Replies)
Hi , i need a fast way to delete duplicates entrys from very huge files ( >2 Gbs ) , these files are in plain text.
I tried all the usual methods ( awk / sort /uniq / sed /grep .. ) but it always ended with the same result (memory core dump)
In using HP-UX large servers.
Any advice will... (8 Replies)
Hi i need to compare two fixed length files and produce the differences if any to a seperate file. I have to capture each and every differneces line by line. Ideally my files should not have any differences but if there are any then it should be captured without any miss. Also my files sizes are... (4 Replies)
Hi
I have to write a script to split the huge file into several pieces. The file columns is | pipe delimited. The data sample is as:
6625060|1420215|07308806|N|20100120|5572477081|+0002.79|+0000.00|0004|0001|......... (3 Replies)
Hi, all:
I've got two folders, say, "folder1" and "folder2".
Under each, there are thousands of files.
It's quite obvious that there are some files missing in each. I just would like to find them. I believe this can be done by "diff" command.
However, if I change the above question a... (1 Reply)
I’m new to Linux script and not sure how to filter out bad records from huge flat files (over 1.3GB each). The delimiter is a semi colon “;”
Here is the sample of 5 lines in the file:
Name1;phone1;address1;city1;state1;zipcode1
Name2;phone2;address2;city2;state2;zipcode2;comment... (7 Replies)
Hi,
I have a Huge 7 GB file which has around 1 million records, i want to split this file into 4 files to contain around 250k messages each.
Please help me as Split command cannot work here as it might miss tags..
Format of the file is as below
<!--###### ###### START-->... (6 Replies)
Hi Friends !!
I am facing a hash total issue while performing over a set of files of huge volume:
Command used:
tail -n +2 <File_Name> |nawk -F"|" -v '%.2f' qq='"' '{gsub(qq,"");sa+=($156<0)?-$156:$156}END{print sa}' OFMT='%.5f'
Pipe delimited file and 156 column is for hash totalling.... (14 Replies)
I have 2 large file (.dat) around 70 g, 12 columns but the data not sorted in both the files.. need your inputs in giving the best optimized method/command to achieve this and redirect the not macthing lines to the thrid file ( diff.dat)
File 1 - 15 columns
File 2 - 15 columns
Data is... (9 Replies)
Discussion started by: kartikirans
9 Replies
LEARN ABOUT OPENSOLARIS
genlib_loins
GENLIB_LOINS.3(October 1, 1997) GENLIB_LOINS.3(October 1, 1997)
NAME
GENLIB_LOINS - add a logical instance to the current figure
SYNOPSYS
#include <genlib.h>
void GENLIB_LOINS(model, instance, sig1, sig2, ..., sign, EOL);
char *model, *instance;
char *sig1, *sig2, ..., *sign;
ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in
Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
PARAMETERS
model Name of the model to be logically instanciated
instance Name to be given to the new instance
sig1, sig2, ..., sign
List of signals to be linked to the implicit connector list of the instance
DESCRIPTION
LOINS add a logical instance in the actual working figure. LOINS uses environment variables to choose the file format and the path to the
file.
MBK_IN_LO set up the input file format, the valid ones beeing :
hns
fne
al
alx
MBK_WORK_LIB set up the output file path. Any valid unix path is ok. LOINS look in memory and then, if not found, on disk for the figure
modelname. This is due to the need to ensure consistency between the model and its ascociated instances.
The instance is added with the name instance, and each of the signals are connected to an instance connector. The connectors are implicitly
matched from the order of the signal on the list. This order is the one given in the netlist file, hns or al, or in the sclib documenta-
tion, for standard cell circuits.
ERRORS
"GENLIB_LOINS impossible : missing GENLIB_DEF_LOFIG"
No figure has been yet specified by a call to DEF_LOFIG. So it isn't possible to add anything. you must call DEF_LOFIG before any
other netlist call.
"GENLIB_LOINS : Bad signal bus name"
A signal, described under a bus form, has an illegal syntax.
"Illegal addloins. Instance insname already exist in figure figname"
An instance name must be unique in a given figure at a given hierachy level.
"Illegal addloins. Instance model is the figure figname itself"
A figure cannot be included in itself. Be careful, the check is only made at current hierarchy level.
"Illegal addloins. Connector number discrepancy between figure modelname and instance insname in figure figname"
The number of connector in the model is not equal to the number of signals describing the connectivity during the LOINS call.
EXAMPLE
#include <genlib.h>
main()
{
/* Create a figure to work on */
GENLIB_DEF_LOFIG("mycell");
/* define interface */
GENLIB_LOCON("i", INPUT, "sig1");
GENLIB_LOCON("o", OUTPUT, "sig2");
/* Place an instance */
GENLIB_LOINS("model","instance", "sig1", "sig2", EOL);
/* Save all that on disk */
GENLIB_SAVE_LOFIG();
}
SEE ALSO genlib(1), GENLIB_DEF_LOFIG(3), MBK_IN_LO(1), MBK_CATA_LIB(1), MBK_WORK_LIB(1).
BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
PROCEDURAL GENERATION LANGUAGE ASIM/LIP6 GENLIB_LOINS.3(October 1, 1997)