8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Required Unix shell script which will identify the difference of String2 based on string1. I am facing this issue and unable to achieve the result.
String1= {1 3 lok kam}
String2= {3 kam 5}
Result should be like below:
Data is matching for: 3
Data is matching for: kam
Data is not matching... (7 Replies)
Discussion started by: lokendrasb
7 Replies
2. Shell Programming and Scripting
Hi,
Can anybody help me in finding the difference between two array elements with the help of code pls.
purge=("Purge Concurrent Request and/or Manager Data" "Purge Signon Audit data" "Purge Obsolete Workflow Runtime Data" "Purge Logs and Closed System Alerts")
purge_1=("Purge Obsolete... (3 Replies)
Discussion started by: Y.balakrishna
3 Replies
3. Solaris
Hi,
I am on Sun Edge 6120 Disk array. When I do port listmap.
The failover status below means I have to take action. I never used Sun Array before. Please advice.
port targetid addr_type lun volume owner access
u1p1 1 hard 0 v0 ... (0 Replies)
Discussion started by: samnyc
0 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I need to find the difference between 2 dates in SunOS 5.10
input will be in(yyyymmdd)
date1: 20131011
date2:20131012
my output shold be diff between two dates i.e 0,1,2,3 date2 is always greater than date1.
if it handles even leap year then it wil be more helpful.
thank u... (2 Replies)
Discussion started by: mohanalakshmi
2 Replies
5. Shell Programming and Scripting
Hi ,
I want to find out the time difference. If the system date and time is "Jul 18 05:39:00" EST then it should return "Jul 18 04:39:00". i.e one hour differnce in time. Pls help me out.
Other eg's : Jul 18 00:00:00 -> Jul 18 23:00:00
Jul 18 01:00:00 -> Jul 17 00:00:00 (3 Replies)
Discussion started by: arukuku
3 Replies
6. Shell Programming and Scripting
Hello
Thanks everyone for the help earlier, what I would like to learn now is how can I achieve the following :
array1 = (1234567,7665456,998889,000909)
array2 = (1234567,5581445,998889,000909)
Result
5581445 doesn't exist on array1
Thank you (6 Replies)
Discussion started by: amlife
6 Replies
7. Solaris
Hi All,
Can you please help to understand the major differences between Sun cluster 3.1 and 3.2.
Thanks,
Deepak (1 Reply)
Discussion started by: naw_deepak
1 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
Iam curious to know wat are the differences between a sun machine and a linux machine?( In terms of architecture,applications etc)
Thanks in advance (3 Replies)
Discussion started by: raz
3 Replies
TAP::Parser::Iterator::Array(3pm) Perl Programmers Reference Guide TAP::Parser::Iterator::Array(3pm)
NAME
TAP::Parser::Iterator::Array - Internal TAP::Parser array Iterator
VERSION
Version 3.17
SYNOPSIS
# see TAP::Parser::IteratorFactory for preferred usage
# to use directly:
use TAP::Parser::Iterator::Array;
my @data = ('foo', 'bar', baz');
my $it = TAP::Parser::Iterator::Array->new(@data);
my $line = $it->next;
DESCRIPTION
This is a simple iterator wrapper for arrays of scalar content, used by TAP::Parser. Unless you're subclassing, you probably won't need to
use this module directly.
METHODS
Class Methods
"new"
Create an iterator. Takes one argument: an $array_ref
Instance Methods
"next"
Iterate through it, of course.
"next_raw"
Iterate raw input without applying any fixes for quirky input syntax.
"wait"
Get the wait status for this iterator. For an array iterator this will always be zero.
"exit"
Get the exit status for this iterator. For an array iterator this will always be zero.
ATTRIBUTION
Originally ripped off from Test::Harness.
SEE ALSO
TAP::Object, TAP::Parser, TAP::Parser::Iterator, TAP::Parser::IteratorFactory,
perl v5.12.1 2010-04-26 TAP::Parser::Iterator::Array(3pm)