9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Team,
I have a file like below
FILE:
NAM1,KEY1,VAL1
NAM1,KEY2,VAL2
NAM1,KEY3,VAL3
NAM2,KEY1,VALA
NAM2,KEY2,VALB
NAM2,KEY3,VALCOutput:
I have to build commands like below
<Script> VAL1 VAL2 VAL3 NAME1
<Script> VALA VALB VALC NAME2Can you please help with awk command i can use... (4 Replies)
Discussion started by: mallak
4 Replies
2. Shell Programming and Scripting
I have several Studies (s) which has points (p) having Values (v).
My goal is to determine for each pair of points, how many studies have different values ( if available ).
Study Point Value
1 p1 value1
1 p2 value2
1 p3 value1
1 p4 value3
1 p5 value3
2 p2 value1
2 p4 value1
3 p1 value1... (5 Replies)
Discussion started by: senhia83
5 Replies
3. Shell Programming and Scripting
Hi,
Is anybody experience generate a pair of random number by using awk command?
I wanna to generate a pair of random number (range from 1 to 4124) and repeats it 416 times.
Desired output
2 326
123 1256
341 14
3245 645
.
.
.
I did write the below command:
awk... (5 Replies)
Discussion started by: perl_beginner
5 Replies
4. Shell Programming and Scripting
Hi,
I have a file having rows as
Row1 : model=.1.3.6.1.4.1.9.1.1047,location=abc, pollgrp=PG_CISCO4, ifindex=3, ip=10.10.10.1,parttype=Interface, devtype=Router,part=GigabitEthernet0/1,ifmtu=1520
Row2 :... (2 Replies)
Discussion started by: mksuneel
2 Replies
5. UNIX for Dummies Questions & Answers
Hi, I am working with 2 sets of files (*csv and *asc) and I wanted to delete asc file with no corresponding csv counterpart. I did tried it manually but its been difficult working with a longer list of files.
sample files in directory
20120601.csv 20120601_f1.asc
20120603.csv 20120602_f1.asc... (3 Replies)
Discussion started by: ida1215
3 Replies
6. Shell Programming and Scripting
Hi,
I have 25 groups and I need to perform all possible pairwise compariosns between them using the formula n(n-1)/2. SO in my case it will be 25(25-1)/2 which is equal to 300 comparisons.
my 25 groups are
FG1 FG2 FG3 FG4 FG5
NT5E CD44 CD44 CD44 AXL
ADAM19 CCDC80 L1CAM L1CAM CD44... (1 Reply)
Discussion started by: Diya123
1 Replies
7. AIX
Hi,
I have the scenario, that there 3 VIOS in a Frame in this 2 are in dual VIOS
My question is how to find which VIOS are in dual?
Also, any vios command to identify the pair member (hostname) of a dual VIOS
Regards,
Siva (3 Replies)
Discussion started by: ksgnathan
3 Replies
8. UNIX for Dummies Questions & Answers
hello,
i can't pair BT keyboard and mice under OS X leopard 10.5.7 installed on pc hardware using ipc osx86 10.5.6 final dvd. I could not find any answers on the web, nor on the osx86 forums, so i figured out maybe ill try my luck on linux/unix forum, after all from what i know os x is basicly a... (0 Replies)
Discussion started by: baron_harkonnen
0 Replies
9. UNIX Desktop Questions & Answers
VNC will let me share a desktop with another user. Will "xhost +" and "ssh -X" allow me to do this?
Thanks,
Siegfried (0 Replies)
Discussion started by: siegfried
0 Replies
Algorithm::Dependency::Source::HoA(3pm) User Contributed Perl Documentation Algorithm::Dependency::Source::HoA(3pm)
NAME
Algorithm::Dependency::Source::HoA - Source for a HASH of ARRAYs
SYNOPSIS
# The basic data structure
my $deps = {
foo => [ 'bar', 'baz' ],
bar => [],
baz => [ 'bar' ],
};
# Create the source from it
my $Source = Algorithm::Dependency::Source::HoA->new( $deps );
DESCRIPTION
"Algorithm::Dependency::Source::HoA" implements a source where the items names are provided in the most simple form, a reference to a
"HASH" of "ARRAY" references.
METHODS
This documents the methods differing from the ordinary Algorithm::Dependency::Source methods.
new $filename
When constructing a new "Algorithm::Dependency::Source::HoA" object, an argument should be provided of a reference to a HASH of ARRAY
references, containing the names of other HASH elements.
Returns the object, or "undef" if the structure is not correct.
SUPPORT
To file a bug against this module, use the CPAN bug tracking system
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Algorithm-Dependency <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Algorithm-Dependency>
For other comments, contact the author.
AUTHOR
Adam Kennedy <adamk@cpan.org>
SEE ALSO
Algorithm::Dependency, Algorithm::Dependency::Source
COPYRIGHT
Copyright 2003 - 2009 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
perl v5.12.4 2009-04-14 Algorithm::Dependency::Source::HoA(3pm)