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 LINUX
inviso_as_lib
inviso_as_lib(3erl) Erlang Module Definition inviso_as_lib(3erl)NAME
inviso_as_lib - The Inviso Autostart Utility Library
DESCRIPTION
The purpose of the Inviso autostart utility library is to facilitate the creation and modification of autostart configuration files used by
the standard autostart.
EXPORTS
setup_autostart(Node, R, Opts, TracerData, CmdFiles, Bindings, Transl, RTtag) -> ok | {error, Reason}
Types Node = atom()
R = int()
Opts -- see inviso:add_nodes/2,3
TracerData -- see inviso:init_tracing/1,2
CmdFiles = [CmdFile]
CmdFile = string()
Bindings = [{Var,Val}]
Var = atom()
Val = term()
Transl = [{{M1,F1,Arity}, {M2,F2,{Mt,Ft}}}]
M1 = F1 = M2 = F2 = Mt = Ft = atom()
Arity = int()
RTtag = term()
Reason = term()
Creates an autostart configuration file on Node . The name of the file is automatically deducted from consulting the Runtime_Tools
configuration parameters at Node .
R is the number of allowed autostarts remaining.
Opts is the options which shall be given to the runtime component. See inviso:add_nodes/2,3 .
TracerData is used when initiating tracing on this node. See inviso:init_tracing/1,2 .
CmdFiles points out files containing instructions understood by the inviso_autostart_server implementation of an autostart initia-
tor.
Bindings is a list of {Var, Val} tuples, where Var is the name of a variable and Val the actual value of the variable.
Transl means that M1:F1/Arity shall be translated into M2:F2 .
RTtag is the incarnation tag of the runtime component. See See inviso:add_nodes/2,3 .
set_repeat(Node, R) -> ok | {error, Reason}
Types Node = atom()
R = int()
Reason = term()
Sets the repeat parameter in the autostart file at Node without changing any of its other contents. The autostart configuration file
must exist.
R is the number of allowed autostarts remaining.
inhibit_autostart(Node) -> ok | {error, Reason}
Types Node = atom()
Reason = term()
Sets the repeat parameter in the autostart file at Node to 0. Equivalent to set_repeat(Node, 0) .
Ericsson AB inviso 0.6.2 inviso_as_lib(3erl)