Hello,
I have a header which I have to add to a sorted file, however if I use
cat header sortedfile > newfile, the operation takes 2 minutes as the sorted file is over 400mb.
I have noticed that when I sort the 400mb unsorted file, this only takes 14 seconds to create the output.
As... (2 Replies)
So, I have a file that has some duplicate lines. The file has a header line that I would like to keep at the top.
I could do this by extracting the header from the file, 'sort -u' the remaining lines, and recombine them. But they are quite big, so if there is a way to do it with a single... (1 Reply)
Hi,
Please help with this problem. Somehow does not work for me.
test.txt
CHR SNP BP A1 C_A C_U A2 CHISQ P OR
19 rs10401969 19268718 C 222 890 T 0.03462 0.8524 0.9857
1 rs10873889 ... (4 Replies)
Hi Experts,
I want to Sort the data in fixed width file where i have Header and Footer also in file.
I m using below commad to do the sort based on field satarting from 15 position to 17 position , but it is not ignoring the Header and Footer of the file while sorting. In the output i am... (5 Replies)
I am having report file with header and footer . The details in between header and footer are separated by a pipe charater. I want to sort the file by considering multiple columns in between header and footer.
pls help (4 Replies)
How to sort a tab delimited file first on col1 and then on col2. Also I need to keep the header intact.
file.txt
val1 val2 val3 val4
a b c d
m n o p
e f g h
i j k l
... (3 Replies)
Hi,
I'm trying to sort 2 different .txt tab delimited files with the command line:
sort -k 1b,1 inputfile > outputfile
But doing that i'm also sorting the header (that ends at the end of my file).
How can i sort a .txt file without sorting the header but conserving the header in the... (3 Replies)
I have several las files with a header and each file start Version and text and before the data starts end up with ~Ascii, then the numbers starts:
-------------------------------------------------------------------------
Code:
~Version
.....text....
~Ascii
2 abc 230 1 name
1 abc ... (1 Reply)
Hi,
I am using SUN SOLARIS (SunOS sun4v sparc SUNW, T5240).
I have a huge data file with header and trailer. This file gets used into an ETL process. ETL skips the header record (which is the first record of the file) and loads the rest of the record. The file can be delimited (comma,... (5 Replies)
Hi ,
My UNIX system is SUN Solaris.
I am trying to do a simple thing as described below.
I have a PIPE delimited file that has header and trailer. So the file is something like below:
Test1.txt looks like something below:
field_data1|field_data2|and some more data --Header
... (5 Replies)
Discussion started by: Saanvi1
5 Replies
LEARN ABOUT DEBIAN
aecat
aecat(1) General Commands Manual aecat(1)NAME
aecat - display an aewan document
SYNOPSIS
aecat [-b] [-c] [-{n|N}] [{-p | -l <layer_num>}] [-f <format>] [-o <output_file>] inputfile
DESCRIPTION
This is an utility program that will convert an aewan document to ANSI escape sequences so that it can be rendered on a standard terminal.
Alternatively, it can also generate HTML code for displaying the document in a web page. Any particular layer of the document may be con-
verted, or you may request a composite of all layers.
OPTIONS -f specifies output format - can "text", "html" or "comment". Default is "text". The "comment" format extracts document metadata.
-c prepend a 'clear screen' escape sequence (only valid when outputting text).
-o<file>
writes output to specified file rather than stdout
-b disables output of color (only characters will be printed).
-l<layer_no>
specifies which layer of the document is to be used (must be an index, not a layer name). By default, layer 0 will be used.
-L displays the number of layers in the file.
-p exports a composite, that is, overlays all visible layers, paying attention to layer transparency, etc. The size of the composite
will be the size of the first layer
-n suppress output of newlines
-h prints a short help text
AUTHORS
This program is part of the Aewan Ascii Art Editor package. See aewan(1) for author information.
LICENSE
Copyright (c) 2004-2005 Bruno Takahashi C. de Oliveira. All rights reserved.
This program is licensed under the GNU General Public License, version 2 or, at your option, any later version. For full license informa-
tion, please refer to the COPYING file that accompanies the program.
SEE ALSO aewan(1), aewan(5), aemakeflic(1)aecat (Aewan Ascii Art Editor) March 2005 aecat(1)