04-21-2007
More info..
I missed out the key word actually, please excuse me. Actually, by TRY_AGAIN, i mean SERVFAIL case. I want the DNS server to return SERVFAIL case irrespective of the query. I went through 'named' code in bind library, but it was too complex for me to understand and modify.
So is there a workaround?
Thanks,
Srini
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How can convert a Lower case variable value to an upper case in the kron shell script. (3 Replies)
Discussion started by: dchalavadi
3 Replies
2. Shell Programming and Scripting
HELLO ALL,
URGENTLY NEEDED A SCRIPT TO SELECT AND DELETE LOWER AND MIXED CASE RECORDS FROM A COLUMN IN A TABLE.
FOR EXAMPLE : Table name is EMPLOYEE and the column name is CITY
and the CITY column records will be: Newyork
washington
... (1 Reply)
Discussion started by: abhilash mn
1 Replies
3. Shell Programming and Scripting
Hi all,
i have a data array as followes.
ARRAY=DFSG345GGG
ARRAY=234FDFG090
ARRAY=VDFVGBGHH
so on..........
i need all english letters to be change to lower case. So i am expecting to see
ARRAY=dfsg345ggg
ARRAY=234fdfg090
ARRAY=vdfvgbghh
so on........
If i have to copy this data in... (8 Replies)
Discussion started by: usustarr
8 Replies
4. Shell Programming and Scripting
Hi
I want to make string substitution ignoring case for search but respecting case for subtitute. Ex changing all occurences of "original" in a file to "substitute":
original becomes substitute
Origninal becomes Substitute
ORIGINAL becomes SUBSTITUTE
I know this a little special but it's not... (1 Reply)
Discussion started by: kmchen
1 Replies
5. Shell Programming and Scripting
Is there a command that can switch a character variable from UPPER case to lower case?
like
foreach AC ( ABC BCD PLL QIO)
set ac `COMMAND($AC)`
...
end
Thanks a lot! (3 Replies)
Discussion started by: rockytodd
3 Replies
6. Programming
Writing a Tool to simulate non-sequential disk I/O (simulate db file sequential read) in C POSIX
I have over the years come across the same issue a couple of times, and it normally is that the read speed on SAN is absolutely atrocious when doing non-sequential I/O to the disks. Problem being of... (7 Replies)
Discussion started by: vrghost
7 Replies
7. Shell Programming and Scripting
Hello Unix Gurus :
It would be really appreciative if can find a solution for this .
I have records in a file .
I need to Capitalize the records based on condition .
For Example i tried the following Command
COMMAND -->
fgrep "2000YUYU" /export/home/oracle/TST/data.dat | tr '' ''... (12 Replies)
Discussion started by: tsbiju
12 Replies
8. Red Hat
Hello,
I wanted to simulate SAN on my VMware PLayer running RHEL.
Is there any tool that can be used to simulate storage setup for learning/testing?
THanks, (1 Reply)
Discussion started by: ikn3
1 Replies
9. Shell Programming and Scripting
Hi all,
I am trying to find a way to change first letter in a word from lower case to upper case. It should be done for each first word in text or in paragraph, and also for each word after punctuation like
. ; : ! ?I found the following command
sed -i 's/\s*./\U&\E/g' $@ filenamebut... (7 Replies)
Discussion started by: georgi58
7 Replies
LEARN ABOUT DEBIAN
tm::objectable
TM::ObjectAble(3pm) User Contributed Perl Documentation TM::ObjectAble(3pm)
NAME
TM::Synchronizable - Topic Maps, trait for storing objects into backends
SYNOPSIS
my $tm = .... # get a topic map from somewhere
use Class::Trait;
Class::Trait->apply ($tm, "TM::ObjectAble");
my %store; # find yourself a proper store, can be anything HASHish
# append it to the list of stores, or ....
push @{ $tm->storages }, \%store;
# prepend it to the list of stores
unshift @{ $tm->storages }, \%store;
# store it (the proper storage will take it)
$tm->objectify ('tm:some-topic', "whatever object or data");
# get it back
my @objects = $tm->object ('tm:some-topic', 'tm:some-topic2');
# get rid of it
$tm->deobjectify ('tm:some-topic');
DESCRIPTION
This trait implements functionality to store arbitrary data on a per-topic basis.
Conceptually, the storage can be thought as one large hash, as keys being use the internal topic identifiers, as values the object data.
But to allow different topics to store their object data in different places, this interface works with a list of such hashes. Each hash
(native or tied to some implementation) in the list is visited (starting from the start of the list) and can take over the storage. Whether
this is based on the topic id, on some other topic information, or on the MIME type of the data (if it has one), is up to the
implementation to decide.
INTERFACE
Methods
storages
$listref = $tm->storages
This method returns an array reference. You can "unshift" or "push" your storage implementation onto this list.
Example:
my %store1;
push @{ $tm->storages }, \%store1
objectify
$tm->objectify ($tid => $some_data, ...);
This method stores actually the data. It takes a hash, with the topic id as keys and according values and tries to find for each of the
pairs an appropriate storage. If none can be found, it will raise an exception.
NOTE: Yes, this is a stupid name.
deobjectify
$tm->deobjectify ($tid, ...)
This method removes any data stored for the provided topic(s). If no data can be found in the appropriate storage, an exception will be
raised.
object
@objects = $tm->object ($tid, ...)
This method returns any data stored for the provided objects. If no data can be found for a particular topic, then "undef" will be
returned.
SEE ALSO
TM
AUTHOR INFORMATION
Copyright 20(10), Robert Barta <drrho@cpan.org>, All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
http://www.perl.com/perl/misc/Artistic.html
perl v5.10.1 2010-10-27 TM::ObjectAble(3pm)