03-10-2014
Click
here to know more about this.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Is there any way to do variable nesting using sh?
For example:
example_1="a test string"
example_2="another test"
example_3="etc..."
i=2
echo ${example_$i}
The shell reports:
sh: ${example_$i}: bad substitution
If not, maybe someone could suggest another method. Thanks in... (3 Replies)
Discussion started by: kevinl33
3 Replies
2. Shell Programming and Scripting
i have two files as
file1:
1
2
3
file2:
a
b
c
and the output should be:
file3:
1~a
2~b
3~c (1 Reply)
Discussion started by: mlpathir
1 Replies
3. Programming
Hi, I bought a module called "Price comparison listing" for Prestashop that was supposed to help me push product listing to kelkoo. Unfortunately it doesnt work and the developers don't fix, and they don't refund.... I have reported this to prestashop, but I need a solution..
Be careful buying... (1 Reply)
Discussion started by: joje47
1 Replies
4. UNIX for Dummies Questions & Answers
Hi!!
LookVar=`find . -name "${input}" | wc -w`
if
then
cd $input
rm -f *
ftp -n -i $HostName << EOF
quote USER $User
quote PASS $Password
cd $Path
SoLookVar=`find . -name "${input}" | wc -w`
echo $SoLookVar
if
then
cd $input
mget ./*
bye
EOF
chmod 775 ./* (12 Replies)
Discussion started by: Afsana
12 Replies
5. Shell Programming and Scripting
Hi there,
I have nested case in my script. I am asking user, want to continue? if user press y/Y then my inner case should continue, rather than that my code start from beginning. I would like to continue my inner case until user press n or N. Is any one tell me how can I do?
Thanking You,... (2 Replies)
Discussion started by: kasparov
2 Replies
6. Shell Programming and Scripting
Hi Team,
I just want to check whether my nested if loop used is correct or not.
if ]
if ]
export1
else
export2
fi
else
if ]
export3
else
export4
fi
fi
Thanks
Shiva (5 Replies)
Discussion started by: shivashankar_S
5 Replies
7. Shell Programming and Scripting
HI everyone,
I am not able to find error in the script, when i run the script till
line No. 20
i.e, read var4
everything runs fine. After that the script exits out.
#!/bin/bash
echo -e "Want dryrun OR merge: \n "
read var1
if ] ; then
echo -e "\n Please select from the given... (10 Replies)
Discussion started by: rishi.aradhya
10 Replies
8. Shell Programming and Scripting
for server in $(echo `cat /tmp/ScanHosts_${USERSNAME}.TXT`)
do
for portnumber in $(echo `cat /tmp/ScanPorts_${USERSNAME}.TXT`)
do
#echo ${server} ${portnumber}
... (3 Replies)
Discussion started by: SkySmart
3 Replies
9. Shell Programming and Scripting
Hi,
i m trying to create script which logic is like below.
if ; then
x=`cat /tmp/testoutput.log | grep STOP | wc -l`
y=`cat /tmp/testoutput.log | grep RUN | wc -l`
if ; then
echo "process stop"
if ; then
echo "process running "
else
echo "file not found"
fi
----------------... (2 Replies)
Discussion started by: tapia
2 Replies
LEARN ABOUT DEBIAN
ldns_dnssec_verify_denial
ldns(3) Library Functions Manual ldns(3)
NAME
ldns_dnssec_verify_denial, ldns_dnssec_verify_denial_nsec3-
SYNOPSIS
#include <stdint.h>
#include <stdbool.h>
#include <ldns/ldns.h>
ldns_status ldns_dnssec_verify_denial(ldns_rr *rr, ldns_rr_list *nsecs, ldns_rr_list *rrsigs);
ldns_status ldns_dnssec_verify_denial_nsec3(ldns_rr *rr, ldns_rr_list *nsecs, ldns_rr_list *rrsigs, ldns_pkt_rcode packet_rcode,
ldns_rr_type packet_qtype, bool packet_nodata);
DESCRIPTION
ldns_dnssec_verify_denial() denial is not just a river in egypt
rr: The (query) RR to check the denial of existence for
nsecs: The list of NSEC RRs that are supposed to deny the
existence of the RR
rrsigs: The RRSIG RR covering the NSEC RRs
Returns LDNS_STATUS_OK if the NSEC RRs deny the existence, error code
containing the reason they do not otherwise
ldns_dnssec_verify_denial_nsec3() Denial of existence using NSEC3 records Since NSEC3 is a bit more complicated than normal denial, some
context arguments are needed
rr: The (query) RR to check the denial of existence for
nsecs: The list of NSEC3 RRs that are supposed to deny the
existence of the RR
rrsigs: The RRSIG rr covering the NSEC RRs
packet_rcode: The RCODE value of the packet that provided the
NSEC3 RRs
packet_qtype: The original query RR type
packet_nodata: True if the providing packet had an empty ANSWER
section
Returns LDNS_STATUS_OK if the NSEC3 RRs deny the existence, error code
containing the reason they do not otherwise
AUTHOR
The ldns team at NLnet Labs. Which consists out of Jelte Jansen and Miek Gieben.
REPORTING BUGS
Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at http://www.nlnetlabs.nl/bugs/index.html
COPYRIGHT
Copyright (c) 2004 - 2006 NLnet Labs.
Licensed under the BSD License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
SEE ALSO
ldns_dnssec_trust_tree, ldns_dnssec_data_chain. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.
REMARKS
This manpage was automaticly generated from the ldns source code by use of Doxygen and some perl.
30 May 2006 ldns(3)