Do somebody have idea How to sort standard input without first line which in my case it's header
Example:
Cnt|VT |STAT|Date |Time |From |Alert Message |Instance |
125| | | 260308 |160026 |ZAMUAT2|ifpollq... (8 Replies)
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)
Hi,
I'm ssh'ing into a server using ruby and sending a one-liner to retrieve the output of the 'ps aux' command. So far, this is what I have:
ps aux | sort -r -n -k3 | sed -e '1s/^/this is first\n/' | head -n10
With this I can insert a line at position 1, but I would rather extract the... (3 Replies)
Hi,
I have a file with a header line, followed by some contents. How can I sort the file according to header lines?
eg.
/* abcd_005*/
a
bc
/* abcd_001*/
d
e
/* abcd_002*/
x
y
desired output:
/*abcd_001*/ (0 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)
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)
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:
-------------------------------------------------------------------------
~Version
.....text....
~Ascii
2 abc 230 1 name
1 abc 400 1... (17 Replies)
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
gappletviewer
GAPPLETVIEWER(1) GNU GAPPLETVIEWER(1)NAME
gappletviewer - Load and runs an applet
SYNOPSIS
appletviewer [OPTION]... URL...
appletviewer [OPTION]... -code CODE
appletviewer [OPTION]... -plugin INPUT,OUTPUT
DESCRIPTION
The appletviewer tool loads and runs an applet.
Use the first form to test applets specified by tag. The URL should resolve to an HTML document from which the appletviewer will extract
applet tags. The APPLET, EMBED and OBJECT tags are supported. If a given document contains multiple applet tags, all the applets will be
loaded, with each applet appearing in its own window. Likewise, when multiple URLs are specified, each applet tag instance is given its
own window. If a given document contains no recognized tags the appletviewer does nothing.
appletviewer http://www.gnu.org/software/classpath/
Use the second form to test an applet in development. This form allows applet tag attributes to be supplied on the command line. Only one
applet may be specified using the -code option. The -code option overrides the URL form -- any URLs specified will be ignored.
appletviewer -code Test.class -param datafile,data.txt
gcjwebplugin uses the third form to communicate with the appletviewer through named pipes.
OPTIONS
URL OPTIONS
-debug
This option is not yet implemented but is provided for compatibility.
-encoding CHARSET
Use this option to specify an alternate character encoding for the specified HTML page.
APPLET TAG OPTIONS
-code CODE
Use the -code option to specify the value of the applet tag CODE attribute.
-codebase CODEBASE
Use the -codebase option to specify the value of the applet tag CODEBASE attribute.
-archive ARCHIVE
Use the -archive option to specify the value of the applet tag ARCHIVE attribute.
-width WIDTH
Use the -width option to specify the value of the applet tag WIDTH attribute.
-height HEIGHT
Use the -height option to specify the value of the applet tag HEIGHT attribute.
-param NAME,VALUE
Use the -param option to specify values for the NAME and VALUE attributes of an applet PARAM tag.
PLUGIN OPTION
-plugin INPUT,OUTPUT
gcjwebplugin uses the -plugin option to specify the named pipe the appletviewer should use for receiving commands (INPUT) and the one
it should use for sending commands to gcjwebplugin (OUTPUT).
DEBUGGING OPTION
-verbose
Use the -verbose option to have the appletviewer print debugging messages.
STANDARD OPTIONS
-help
Use the -help option to have the appletviewer print a usage message, then exit.
-version
Use the -version option to have the appletviewer print its version, then exit.
-JOPTION
Use the -J option to pass OPTION to the virtual machine that will run the appletviewer. Unlike other options, there must not be a
space between the -J and OPTION.
BUGS SEE ALSO AUTHOR 0.98 2010-07-05 GAPPLETVIEWER(1)