03-27-2008
Please read the Forum Rules regarding homewrk assignments.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I have a file that looks like this:
s6 98
s6 91
s6 56
s5 32
s5 10
s5 4
So what I want to do is print only the highest value for each value in the column:
So the file will look like this:
s6 98
s5 32
Thanks (4 Replies)
Discussion started by: phil_heath
4 Replies
2. Shell Programming and Scripting
Hi Gurus,
I've using HPUX B.11.23 U ia64 with shell = sh.
I've been having some problem get the highest number of this script.
Actually I wanted to get the highest number from this listing (TEST123 data and based on this highest number, there will be email being sent out.
For example,... (6 Replies)
Discussion started by: superHonda123
6 Replies
3. Shell Programming and Scripting
Hi all,
I have a simple problem. I have given an example of the problem below.
There are 4 space-delimited columns.
2655 96 IA -0.8179
2655 96 IA -0.9144
2655 96 CPU -0.4275
2655 96 RMA -0.3407
2655 96 IA -0.9373
2655 96 ... (2 Replies)
Discussion started by: jaysean
2 Replies
4. Shell Programming and Scripting
Hi all,
I'm trying to get the item with the maximum value, and was wondering if someone can help me with it.
Heres my input file:
apples 15
books 15
books 17
pens 12
pens 15
umbrella 13Here's what my output file should look like:
apples 15
books 17
pens 15
umbrella 13
Can... (2 Replies)
Discussion started by: r4v3n
2 Replies
5. Shell Programming and Scripting
print the key with highest value
input
a 10
a 20
a 30
b 2
b 3
b 1
output
a 30
b 3 (9 Replies)
Discussion started by: quincyjones
9 Replies
6. Shell Programming and Scripting
Hi All,
Can someone help steer me to the simplest approach to write a script that reads the second column of a csv file and returns the highest value.
example file:
DATE,QUANTITY
Mon Apr 30 01:56:00 2012,42
Mon Apr 30 02:24:00 2012,72
Mon Apr 30 02:56:00 2012,102
Mon Apr 30 02:59:00... (3 Replies)
Discussion started by: dekker74
3 Replies
7. UNIX for Dummies Questions & Answers
Within millions of lines of data, there are perhaps 20 "spikes" that are very narrow. I want only the highest value from each spike within a range of 10 rows. Possible?
My data looks like this, 8 columns of integers, millions of rows. There are clear spikes when you graph columns.
... (6 Replies)
Discussion started by: markymarkg123
6 Replies
8. Shell Programming and Scripting
Hi All
I do have a matrix in the following format
a_2 a_3 s_4 t_6
b 0 0.9 0.004 0
c 0 0 1 0
d 0 0.98 0 0
e 0.0023 0.96 0 0.0034
I have thousands of rows
I would like to parse the maximum value in each of the row and out put that highest value along the column header of... (2 Replies)
Discussion started by: Kanja
2 Replies
9. Shell Programming and Scripting
Hi Guys,
I am looking for a way to sort the output below from the "Inuse" count from Highest to Lowest. Is it possible?
Thanks in advance.
user1 0.12 0.06 0 0.12
User Inuse Pin Pgsp Virtual
Unit:... (4 Replies)
Discussion started by: jaapar
4 Replies
LEARN ABOUT DEBIAN
turnin
TURNIN(1) General Commands Manual TURNIN(1)
NAME
turnin - submit assignments to be graded
SYNOPSYS
turnin [ OPTIONS ] -c [ course-name ] files
DESCRIPTION
Submits assignments to be graded. We submit to the default project if it is not specified as an option.
REQUIRED ARGUMENTS
-c, --course
Sets the course to which we'll submit our assignments.
files A list of files we wish to submit. They will be compressed using tar(1) and gzip(1) formats before being copied to the submission
directory.
OPTIONS
--version
Print turnin's version
-h, --help
Print a help message
-l, --list
Prints a list of projects, along with whether or not they are enabled and shows which project is the default project.
-p, --project
Sets the project to which we'll submit our assignments.
-C, --config
Path to an alternate configuration file
-v, --verbose
Prints a list of submitted files once they have been submitted.
-k, --keyid
Cryptographically signs an assignment using gpg(1)
-w, --legal
Print warranty and license information.
EXAMPLES
turnin -c world-cheeses --list
List the projects in the course world-cheeses.
turnin -c world-cheeses stilton-recipe
Submit the file stilton-recipe to the default project in the course world-cheeses.
turnin -c world-cheeses -p stilton stilton-recipe
Submit the file stilton-recipe to the project stilton in the course world-cheeses.
FILES
/etc/turnin-ng.cf ~/.turnin-ng/submissions
SEE ALSO
turnincfg(1)
The full documentation for turnin is maintained as a Texinfo manual. If the info and turnin programs are properly installed at your site,
the command
info turnin-ng
should give you access to the complete manual.
AUTHOR
Turnin-NG and this manpage were written by Ryan Kavanagh <ryanakca@kubuntu.org> in the summer of 2009 and are still actively maintained.
Turnin-NG is a replacement for the 'project' and 'turnin' commands written in 1990 for the SPARC architecture by an unknown author.
Both Turnin-NG and this manpage are distributed under the terms of the GNU General Public License version 2, or (at your option) any later
version.
Turnin-NG SEPTEMBER 2010 TURNIN(1)