Is there any way to store the file name with maximum number in a variable?
I want to open this file for plotting in octave/gnuplot/python/scilab.
Thanks you.
if you want it to store in a variable , just use the below command:
My code below is supposed to find which company had the most business and then print the appropriate fields from another file which are the companies ID number and name. I can loop through awk and display all the total amount of business for each company but I need help in only printing out the... (1 Reply)
Hi,
I have this input file called ttbitnres (which is catenated and sorted):-
8 0.4444 213
10 0.5555 342
11 0.5555 321
12 0.5555 231
13 0.4444 400
My code is at :-
#!/bin/bash
echo -e Version "\t" Number of Pass "\t" Number of Fail "\t" Rank Position "\t"Min "\t" Max... (1 Reply)
I am reading a cpp file thru shell script . There are many fuctions inside the cpp file
eg
pvvd_fncn_name1
{
..... something
}
pvvd_fncn_name2
{
..... something
}
what I require is a method to find the first opening brace and the coresponding last brace and search... (2 Replies)
Hi, i have a file with numbers in it and i was wondering if there's a script i could use to find the max number and have that printed to a new file?
example a.txt
18
26
47
34
27
so find the max number in a.txt and print it to b.txt.
Thanks! (17 Replies)
Hi Folks.Just out of interest does anyone know if their is a maximum number of variables that korn shell supports and if so how do I query what it is?Cheers (1 Reply)
Hi, I would just like to know how to get the file with the max filename on a directory and get rid of all the others. For example, in directory A:/ i have the ff files:
APPLE2001
APPLE2002
APPLE2003
GRAPE2004
what I want to get is the max in files whose filenames start with APPLE*,... (4 Replies)
Hi
I have a list of 2000 records with multiple entries and I want to get the max size for each entry
ABC 1
ABC 2
ABC 3
ABC 4
DEF 1
DEF 2
DEF 2
DEF 2
DEF 2
... (9 Replies)
Hi,
I have the below text:
16:00 0.50
16:00 0.30
16:00 0.00
16:00 0.00
16:00 0.30
16:01 0.00
16:01 0.30
I want to find the max of the 2nd column grouping by the values in the 1st column using awk. So
16:00 0.50
16:01 0.30
I have tried (3 Replies)
Discussion started by: satishrao
3 Replies
LEARN ABOUT HPUX
octave
OCTAVE(1) General Commands Manual OCTAVE(1)NAME
octave - A high-level interactive language for numerical computations.
SYNOPSIS
octave [options]... [file]
DESCRIPTION
Octave is a high-level language, primarily intended for numerical computations. It provides a convenient command line interface for solv-
ing linear and nonlinear problems numerically.
OPTIONS
The complete set of command-line options for octave is available by running the following command from the shell.
octave --help
DOCUMENTATION
The primary documentation for Octave is written using Texinfo, the GNU documentation system, which allows the same source files to be used
to produce on-line and printed versions of the manual.
You can read the on-line copy of the Octave documentation by issuing the following command from within octave.
octave:1> doc
The Info files may also be read with a stand-alone program such as info or xinfo. HTML, Postscript, or PDF versions of the documentation
are installed on many systems as well.
BUGS
The Octave project maintains a bug tracker at http://bugs.octave.org. Before submitting a new item please read the instructions at
http://www.octave.org/bugs.html on how to submit a useful report.
FILES
Upon startup Octave looks for four initialization files. Each file may contain any number of valid Octave commands.
octave-home/share/octave/site/m/startup/octaverc
Site-wide initialization file which changes options for all users. octave-home is the directory where Octave was installed such as
/usr/local.
octave-home/share/octave/version/m/startup/octaverc
Site-wide initialization file for Octave version version.
~/.octaverc
User's personal initialization file.
.octaverc
Project-specific initialization file located in the current directory.
AUTHOR
John W. Eaton <jwe@octave.org>
GNU Octave 4 February 2011 OCTAVE(1)