10-08-2010
1. it is passed a parameter (200)
2.output
1st value =same as input (ex: a1)
2nd value= first value (ex: a1 191)
3rd value = second value (191,201,211,...untill it gets 391 (191+200)
4th value = is the sum of 1+2+1.... (of 191 -201, 201-211....391)
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
sometimes in Solaris 8 when I go to mount filesystems using either the mount command or by editing the /etc/vfstab, i get a nice little error message saying the the number of allowable mount points has been exceeded. I have read man pages until I am blue in the face and no where can I find what the... (3 Replies)
Discussion started by: manderson19
3 Replies
2. UNIX and Linux Applications
I have a simple gnuplot question. I have a set of points (list of x,y,z values; irregularly spaced, i.e. no grid) that I want to plot. I want the plot to look like this:
- points in map view (no 3D view)
- color of each point should depend on its z-value.
- I want to define my own color scale
-... (0 Replies)
Discussion started by: karman
0 Replies
3. Shell Programming and Scripting
Hi,
I am trying to write a script to get entries between two points lets say start and end points from a log file,
the log file time format is as follows
Start - 07/Aug/2008:18:26:43
End - 07/Aug/2008:19:36:43
I tried using the following awk command but it couldnt pick up the entries... (3 Replies)
Discussion started by: openspark
3 Replies
4. UNIX for Advanced & Expert Users
hi,
I believe a mount point does not have to be a physical disk, but rather a logical one? Is this correct? if so, how can I find out if my mount points are on different physical disks?
thanks (9 Replies)
Discussion started by: JamesByars
9 Replies
5. Post Here to Contact Site Administrators and Moderators
Has any thought been given to assigning points to threads much in the way the HP ITRC forums do? This might not be possible, just a thought. (1 Reply)
Discussion started by: candlejack
1 Replies
6. Red Hat
Hi folks,
I have been asked to performed the following:
Add the following new moint points systemA:/avp and SystemB:/usr/sap/trans to be the new linux server ZZZ
How can I add those mount points and how those mount points can become another linuz server?:wall::wall::wall: (2 Replies)
Discussion started by: 300zxmuro
2 Replies
7. UNIX for Dummies Questions & Answers
I have 2 physical interfaces (bnx0 and bnx1) aggregated into aggr1. I need to assign second IP, and normally I know how to do it to physical interface (i.e. bnx0:1) however same trick (aggr1:1) is not working. Is there any way to do it? (0 Replies)
Discussion started by: bratan
0 Replies
8. Shell Programming and Scripting
Hi all,
I need to run a bunch of commands seperated by ; but then count the total lines of output. Pipes and redirection don't seem to be helping me. Anyone know how I can do this properly:
ls /usr/bin/nslookup ; ls /usr/sbin/lsof ; ls /sbin/ifconfig ; ls /usr/sbin/dmidecode ; ls... (2 Replies)
Discussion started by: dan-e
2 Replies
9. AIX
Hi,
I have a AIX5.3 P6-520 with 8x1Gb Ethernet ports with possible connections to 2 CISCO 2960 switches.
I can create 8023ad Etherchannels which work correctly with the switches (I have set up for LACP passive and a valid channels)
But can create 2x 8023ad 4Gb Etherchannels with no backups.... (2 Replies)
Discussion started by: spitzie
2 Replies
LEARN ABOUT DEBIAN
alzabo::foreignkey
Alzabo::ForeignKey(3pm) User Contributed Perl Documentation Alzabo::ForeignKey(3pm)
NAME
Alzabo::ForeignKey - Foreign key (relation) objects
SYNOPSIS
use Alzabo::ForeignKey;
foreach my $fk ($table->foreign_keys)
{
print $fk->cardinality;
}
DESCRIPTION
A foreign key is an object defined by several properties. It represents a relationship from a column or columns in one table to a column
or columns in another table.
This relationship is defined by its cardinality (one to one, one to many, or many to one) and its dependencies (whether or not table X is
dependent on table Y, and vice versa).
Many to many relationships are not allowed. However, you may indicate such a relationship when using the Alzabo::Create::Schema->add_rela-
tion method method, and it will create the necessary intermediate linking table for you.
METHODS
table_from
table_to
Returns the relevant "Alzabo::Table" object.
columns_from
columns_to
Returns the relevant "Alzabo::Column" object(s) for the property as an array.
column_pairs
Returns an array of array references. The references are to two column array of "Alzabo::Column" objects. These two columns correspond in
the tables being linked together.
cardinality
Returns a two element array containing the two portions of the cardinality of the relationship. Each portion will be either '1' or 'n'.
from_is_dependent
to_is_dependent
Returns a boolean value indicating whether there is a dependency from one table to the other.
is_one_to_one
is_one_to_many
is_many_to_one
Returns a boolean value indicating what kind of relationship the object represents.
is_same_relationship_as ($fk)
Given a foreign key object, this returns true if the two objects represent the same relationship. However, the two objects may represent
the same relationship from different table's points of view.
id
Returns a string uniquely identifying the foreign key.
comment
Returns the comment associated with the foreign key object, if any.
AUTHOR
Dave Rolsky, <autarch@urth.org>
perl v5.8.8 2007-12-23 Alzabo::ForeignKey(3pm)