02-21-2012
LAMP for Bioinformatics
Couldn't be more clear of your explanation! Thanks a lot Dave!
Yifang
6 More Discussions You Might Find Interesting
1. Cybersecurity
Could someone please help, I am new to unix and I am trying to do the following:
o Each password must have at least eight characters.
Only the first eight characters are significant.
PASSLENGTH is found in /etc/default/passwd and is set
to 6.
... (1 Reply)
Discussion started by: tumbikikani
1 Replies
2. Shell Programming and Scripting
Hi experts
How to construct a rectangular matrix for a text file with 6012 rows and 2221 columns.
Thank You (1 Reply)
Discussion started by: riyabio
1 Replies
3. Shell Programming and Scripting
Hi
I have to construct a rectangular matrix with 6012 rows and 2221 columns.
Here the rows and columns were given by alphanumeric ids in a file named row.txt and column.txt respectively. with this row nd column ids I have to construct a matrix ie 6012*2221 and compare the column ids with... (0 Replies)
Discussion started by: riyabio
0 Replies
4. Shell Programming and Scripting
I am trying to construct a regular expression that will filter a log file containing the following table:
aP
mP
mC,mI
oP
oC
oF
oI
tP
tI
hP
... (8 Replies)
Discussion started by: euval
8 Replies
5. Shell Programming and Scripting
the scrip (q4.sh) should perform the following calcuation (+, -, / and *) it should be used like this:
q4.sh number1 operation number2
I wrote it already but the "*" does not work.
#!/bin/bash
#Date: 2010.10.19
# un script qui utilisera une instruction case pour effectuer des opérations... (6 Replies)
Discussion started by: flash80
6 Replies
6. Shell Programming and Scripting
Hi,
I have an array variable "arr" that reads string from a file "vari.txt". Thus, the array will be of variable length depending how many entries are present in "vari.txt"
I use a for loop to traverse through the array.
However, i need a grep command to grep for a file "output.txt" and... (3 Replies)
Discussion started by: mohtashims
3 Replies
LEARN ABOUT DEBIAN
alzabo::changetracker
Alzabo::ChangeTracker(3pm) User Contributed Perl Documentation Alzabo::ChangeTracker(3pm)
NAME
Alzabo::ChangeTracker - Saves a set of changes as callbacks that can be backed out if needed
SYNOPSIS
use Alzabo::ChangeTracker;
my $x = 0;
my $y = 1;
sub foo
{
my $tracker = Alzabo::ChangeTracker->new;
$tracker->add( sub { $x = 0; } );
$x = 1;
bar();
eval { something; };
$tracker->backout if $@;
}
sub bar
{
my $tracker = Alzabo::ChangeTracker->new;
$tracker->add( sub { $y = 1; } );
$y = 2;
}
DESCRIPTION
The trick ...
We only want to have one object of this type at any one time. In addition, only the stack frame that created it should be able to clear it
(except through a backout). Why? Here's an example in pseudo-code to help explain it:
sub foo
{
create a tracker;
store some change info in the tracker;
call sub bar;
store some change info in the tracker;
# point Y
clear changes in tracker;
}
sub bar
{
create a tracker; # internally, we really just increment our stack count
store some change info in the tracker;
clear changes in tracker; # point X
}
If at point X we were to really clear out the changes, even the changes just from sub bar, we'd have a problem. Because if at point Y,
things go to hell and we want to back out the changes, we want to back out the changes from sub foo _AND_ sub bar. However, if bar is also
an entry point we want to be able to track changes in bar and clear them from bar.
AUTHOR
Dave Rolsky, <autarch@urth.org>
perl v5.8.8 2007-12-23 Alzabo::ChangeTracker(3pm)