9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I tried giving the following command
echo $$a
I got an output like 32178a
Can some one please explain why echo $$ is returning 32178
Thanks in advance (6 Replies)
Discussion started by: Sri3001
6 Replies
2. UNIX for Advanced & Expert Users
Folks,
I am hoping someone out there can help me. I have been writing code for in-excess of 10 years. Throughout all this time I have used Xemacs. I have picked up bits of customizations here and there over the years, but would not profess to be anything of an expert in Lisp (or have a heavily... (3 Replies)
Discussion started by: petermc
3 Replies
3. Shell Programming and Scripting
Hi friends..
I am using the below command to search few files from many folders which is under one folder..
i mean let say the path is A/B/C...and inside C...i have 1-10 folder...
the below command is working fine....
for i in 1 3 5 7; do
find /A/B/C/${i} -name "*.txt" -o -name "*.csv"... (9 Replies)
Discussion started by: sapan123
9 Replies
4. Shell Programming and Scripting
Hi all,
I m giving an alias to a command in bash shell under solaris o.s. As following.
alias "rm -r"="sh /dir1/move.sh"
It is throwing an error:
-bash: alias: `rm -r': invalid alias name
Please can anyone help me out for this.
Thank U
Naree (5 Replies)
Discussion started by: naree
5 Replies
5. Shell Programming and Scripting
Hi i need some help...
1.i have one main folder XYZ.
2.Many folders inside xyz say abc,def,mno
3.And inside each folder, i have many files .
want to print what ever files are present inside the subfolder abc,def,mno (what ever todays file ) in output file.out put file should be in xyz(say... (13 Replies)
Discussion started by: sapan123
13 Replies
6. Shell Programming and Scripting
I am trying to extract two fields from the output of ifconfig command on one of my sun server . The output looks like :
root@e08k18:/tmp/test# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
ce0:... (9 Replies)
Discussion started by: kpatel786
9 Replies
7. Shell Programming and Scripting
if i give dir=/tmp/${0##*/}
what would b the value stored in dir ..i'm more concerned about the 0##*/ part.. (1 Reply)
Discussion started by: suri
1 Replies
8. AIX
Hi All,
As i asked you in my previous post, I want to read username and lastupdate only from /etc/security/passwd and write the same data to another file:
The data in /etc/security/passwd will be in this form for example:
smith:
password = MGURSj.F056Dj
lastupdate = 623078865
flags =... (0 Replies)
Discussion started by: me_haroon
0 Replies
9. UNIX for Dummies Questions & Answers
How do you get an awk output into columns i.e.
awk (print $1,$2,$3) doesn't come out into nice columns but lots of lines of txt want something more like.
I am crap
at unix so
give me a
hand thx Rich (3 Replies)
Discussion started by: RichardB
3 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)