Help with sort data based on descending order problem
Input file
Desired output
Command try
Thanks for any advice to get my desired output.
The command I try is fail to get desired output when the input file contain "e"
HI,
i want to sort values in descending order and get the column no.s of the sorted value. my data will look like:
subject 1 2 3 4 5
bob 78 45 89 99 54
i want the score to be sorted in descending and get the corresponding subject sorted in the output. Please help me with gawk or ??... (1 Reply)
Dear All,
I have below attached file in which i have many nos, i want the last ascending order nos. The brief description is given below.
File
315
381
432
315
381
432
315
381
432
315
381
432
315
381
432 (6 Replies)
I have a column of numbers in the following format:
1.722e-05
2.018e-05
2.548e-05
2.747e-05
7.897e-05
4.016e-05
4.613e-05
4.613e-05
5.151e-05
5.151e-05
5.151e-05
6.1e-05
6.254e-05
7.04e-05
7.12e-05
7.12e-05 (6 Replies)
hi all
i want to remove some descending order number
example :
1 100 200 135.00 Gk_wirs 1
1 100 200 136.00 Gk_wirs 50
1 110 210 138.00 Gk_wirs 60
1 100 200 136.00 Gk_wirs 57 ----> how to remove... (6 Replies)
Hi,
I am trying to sort the following file in descending order of its fourth column.
2 1 363828 -2.423225e-03
3 1 363828 4.132763e-03
3 2 363828 8.150133e-03
4 1 363828 4.126890e-03
I use
sort -k4,4g -r input.txt > output.txt ... (1 Reply)
Hi,
I have a problem . I have few directories like inpTDT_1, inpTDT_2, inpTDT_3 and so on inside HOME directory . In one of my perl script (which is in my HOME), the above directories like inpTDT_1, inpTDT_2, inpTDT_3 are sorting out in an order So I wanted to sort all the inpTDT_1, inpTDT_2,... (1 Reply)
Discussion started by: venkatesh
1 Replies
LEARN ABOUT DEBIAN
unihist
unihist(1) General Commands Manual unihist(1)NAME
unihist - Generate a histogram of the characters in a Unicode file
SYNOPSIS
unihist ([option flags])
DESCRIPTION
unihist generates a histogram of the characters in its input, which must be encoded in UTF-8 Unicode. By default, for each character it
prints the frequency of the character as a percentage of the total, the absolute number of tokens in the input, the UTF-32 code in hexa-
decimal, and, if the character is displayable, the glyph itself as UTF-8 Unicode. Command line flags allow unwanted information to be sup-
pressed. In particular, note that by suppressing the percentages and counts it is possible to generate a list of the unique characters in
the input.
Output is produced ordered by character code. To sort it in descending order of frequency, pipe the output into the command:
sort -k1 -n -r
By default, unihist handles all of Unicode. To reduce memory usage and increase speed, it may be compiled so as to handle only the Basic
Multilingual Plane (plane 0) by defining BMPONLY.
COMMAND LINE FLAGS -c Suppress printing of counts and percentages.
-g Suppress printing of glyphs.
-h Print usage information.
-u Suppress printing of the Unicode code as text.
-v Print version information.
SEE ALSO
uniname (1)
REFERENCES
Unicode Standard, version 5.0
AUTHOR
Bill Poser
billposer@alum.mit.edu
LICENSE
GNU General Public License
May, 2008 unihist(1)