07-31-2009
Leading 0's will take care of that...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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)
Discussion started by: Enigma23
1 Replies
2. UNIX for Advanced & Expert Users
Hi,
Do anyone know what's the max size of array (in awk)
can be store before hit any memory issue.
Regards (3 Replies)
Discussion started by: epall
3 Replies
3. Shell Programming and Scripting
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)
Discussion started by: ahjiefreak
1 Replies
4. Shell Programming and Scripting
Does anyone know what the max amount of indices you can store in a awk array? (0 Replies)
Discussion started by: timj123
0 Replies
5. HP-UX
hi,
iam getting error when i assign a variable to an array of more that 315 character in length
set -A array <variable>
<variable> value is 000001 000002 and up to 000045
it is giving error as
"The specified subscript cannot be greater than 1024."
can any one help me to solve this (2 Replies)
Discussion started by: gomathi
2 Replies
6. Shell Programming and Scripting
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)
Discussion started by: Diya123
9 Replies
7. Shell Programming and Scripting
Hi,
I have files named as
energy.dat.1
energy.dat.2
energy.dat.3
...
energy.dat.2342
I would like to find the file with maximum number in the filename (ex. energy.dat.2342) and open it.
Would you please share your expertize in writing the script?
Thanks in advance. (8 Replies)
Discussion started by: rpd25
8 Replies
8. Shell Programming and Scripting
Hello:
I want to print out the entire row with max value in column 3 based on column 2. Input file is millions rows. test.dat:
Contig1 lcl|1DL 111 155 265 27
Contig2 lcl|1DS 100 73 172 100
Contig3 lcl|1DL 140 698 837 140
Contig3 lcl|6DS 107 1488 1594... (1 Reply)
Discussion started by: yifangt
1 Replies
9. Shell Programming and Scripting
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
10. Programming
I want to create a form with data values in a dropdown list. The values in the dropdown list need to be generated on the fly from max, min and increment values contained in a mysql database.
Hopefully this makes sense, I really have no idea where to start :confused:
Thanks (6 Replies)
Discussion started by: barrydocks
6 Replies
LEARN ABOUT DEBIAN
git-mailinfo
GIT-MAILINFO(1) Git Manual GIT-MAILINFO(1)
NAME
git-mailinfo - Extracts patch and authorship from a single e-mail message
SYNOPSIS
git mailinfo [-k|-b] [-u | --encoding=<encoding> | -n] [--scissors] <msg> <patch>
DESCRIPTION
Reads a single e-mail message from the standard input, and writes the commit log message in <msg> file, and the patches in <patch> file.
The author name, e-mail and e-mail subject are written out to the standard output to be used by git am to create a commit. It is usually
not necessary to use this command directly. See git-am(1) instead.
OPTIONS
-k
Usually the program removes email cruft from the Subject: header line to extract the title line for the commit log message. This option
prevents this munging, and is most useful when used to read back git format-patch -k output.
Specifically, the following are removed until none of them remain:
o Leading and trailing whitespace.
o Leading Re:, re:, and :.
o Leading bracketed strings (between [ and ], usually [PATCH]).
Finally, runs of whitespace are normalized to a single ASCII space character.
-b
When -k is not in effect, all leading strings bracketed with [ and ] pairs are stripped. This option limits the stripping to only the
pairs whose bracketed string contains the word "PATCH".
-u
The commit log message, author name and author email are taken from the e-mail, and after minimally decoding MIME transfer encoding,
re-coded in the charset specified by i18n.commitencoding (defaulting to UTF-8) by transliterating them. This used to be optional but
now it is the default.
Note that the patch is always used as-is without charset conversion, even with this flag.
--encoding=<encoding>
Similar to -u. But when re-coding, the charset specified here is used instead of the one specified by i18n.commitencoding or UTF-8.
-n
Disable all charset re-coding of the metadata.
--scissors
Remove everything in body before a scissors line. A line that mainly consists of scissors (either ">8" or "8<") and perforation (dash
"-") marks is called a scissors line, and is used to request the reader to cut the message at that line. If such a line appears in the
body of the message before the patch, everything before it (including the scissors line itself) is ignored when this option is used.
This is useful if you want to begin your message in a discussion thread with comments and suggestions on the message you are responding
to, and to conclude it with a patch submission, separating the discussion and the beginning of the proposed commit log message with a
scissors line.
This can enabled by default with the configuration option mailinfo.scissors.
--no-scissors
Ignore scissors lines. Useful for overriding mailinfo.scissors settings.
<msg>
The commit log message extracted from e-mail, usually except the title line which comes from e-mail Subject.
<patch>
The patch extracted from e-mail.
GIT
Part of the git(1) suite
Git 1.7.10.4 11/24/2012 GIT-MAILINFO(1)