HI all
I'm trying to write an awk script to print the min and max value in a range(s) contained in another file - the range values are in $2
EG
114,7964,1,y,y,n
114,7965,1,y,y,n
114,7966,1,y,y,n
114,7967,1,y,y,n
114,7969,1,y,y,n
114,7970,1,y,y,n
114,7971,1,y,y,n
114,7972,1,y,y,n... (3 Replies)
Is it possible for me to find numbers in a file by a range using grep?
like
cat data | cut -f1 | grep <info>
Im trying to find information and extract every amount that is less than a number (ie less than 75 or whatever)
Is this possible? (2 Replies)
Hi,
I have a question here that need to get advise from all of you. Let say I have a set of data
12347777
12359899
12347677
12360090
12347688
12359979
12359009
12367022
12346677
I need to count the number that appear in each numbering ranges and the output is like below:
Prefix ... (5 Replies)
Hi,
I am trying to use AWK to do some editing and formating of large tables of numbers and I am having trouble getting it to work. For brevities sake, I won't show the whole table, but I have a sample set of code:
und$ awk '{($2+0) > 50;print $1}' temp
2000 147
2008 128
2002 100
1999 47... (2 Replies)
Hello All,
I am having problem to find what is the smallest number from 90% of highest numbers from all numbers in file. I am having file with thousands of lines and hundreds of columns.
I am familiar mainly with bash but I am open to whatever suggestion witch will lead to the solutions.
If I... (11 Replies)
Good day to everyone!
So, let's start :)
I have a file with a numbers in some ranges
for example:
1 10
49 72
...
and this file need to transform to:
1
2
3
4 (14 Replies)
Looking for a simple way to convert ranges to a numerical sequence that would assign the original value of the range to the individual numbers that are on the range.
Thank you
given data
13196-13199 0
13200 4
13201 10
13202-13207 3
13208-13210 7
desired... (3 Replies)
Hi to all,
Please help on the following problem, I'm not where to begin, if awk or shell script.
I have pairs of ranges of numbers and I need to find the root or roots of ranges based on min Range and Max ranges
Example #1:
If min range is 120000 and max ranges 124999, it means that are... (5 Replies)
Hi,
In an ideal scenario, I will have a listing of db transaction log that gets copied to a DR site and if I have them all, they will be numbered consecutively like below.
1_79811_01234567.arc
1_79812_01234567.arc
1_79813_01234567.arc
1_79814_01234567.arc
1_79815_01234567.arc... (3 Replies)
Discussion started by: newbie_01
3 Replies
LEARN ABOUT DEBIAN
numconv
NUMCONV(1) User Commands NUMCONV(1)NAME
numconv - convert numbers from one number system to another
SYNOPSIS
Numconv <options>
DESCRIPTION
numconv is a filter that converts integers from one number system to another. For example, it can convert from Roman Numerals such as
"CCLVI" to ordinary Western numbers such as "256" or from Western numbers to Chinese. The great majority of number systems, both modern
and ancient, are supported, including numerous variants.
If the input number system is 'all', the number system will be autodetected.
numconv is a command line interface to libuninum a library for converting between textual representations of numbers and machine-internal
representations. Further information about the conversions performed is available in the documentation for this library.
OPTIONS -i <input file>
Read input from the specified file.
-o <output file>
Write output into the specified file.
-I Identify the number system of the input.
-c List the available number system cover terms.
-l List the available number systems.
-f <input number system>
Specify the number system of the input.
-t <output number system>
Specify the number system of the output.
-b <input base>
Specify the input base for Western numbers. The base must be in the range [1,36].
-B <output base>
Specify the output base for Western numbers. The base must be in the range [1,36].
-g <output general group size>
Specify the size of digit groups other than the ow-order group. The default is 3.
-G <output low group size>
Specify the size of the low-order group of digits. The default is 3.
-s <output group separator character>
Specify character to use as "thousands separator". The default is a comma.
-L Set the output grouping parameters, general group size, first group size, and group separator character, according to the current
locale.
-m When generating Roman numerals, use unit characters with superscript macron for thousands greater than one instead of Ms.
-h Print help information.
-v Print version information.
EXAMPLES
To convert from Roman Numerals to ordinary Western numbers:
numconv -f Roman -t Western_Lower
To convert from ordinary Western numbers to the variety of number in current use in the People's Republic of China:
numconv -f Western -t Mandarin_Regular_Simplified
To convert from ordinary Western numbers to Western numbers in base 2:
numconv -f Western_Lower -t Western_Lower -B 2
To convert from Urdu numbers to Hindi numbers with the traditional Indian grouping:
numconv -f Perso_Arabic -t Devanagari -g 2
SEE ALSO
libuninum (3)
AUTHOR
Bill Poser (billposer@alum.mit.edu)
LICENSE
GNU General Public License, version 2. (http://www.gnu.org/licenses/gpl.txt)
numconv September 2007 NUMCONV(1)