Sponsored Content
Full Discussion: Linux script
Top Forums Shell Programming and Scripting Linux script Post 302736425 by pradeep rawat on Tuesday 27th of November 2012 08:33:21 AM
Old 11-27-2012
@pamu= its not increasing the value of success and failure its jst giving output lik this
2089, success 0 ,failure 0
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Linux Script help

Hi Everyone , have a nice day given below is a simple linux script but its first part is not working ( variable k assignment ) , while second loop is working fine can anyone help me out with this #!/bin/sh echo "Enter Date" read date1 for i in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14... (6 Replies)
Discussion started by: Dastard
6 Replies

2. Shell Programming and Scripting

help with linux shell script

HI im a novice with shell scripts but i need help with a random script I have this folder filled with 500 different file names... I need help creating a script that will take each filename and make a new folder named that filename and then move that file into the newly created folder. Then the... (1 Reply)
Discussion started by: emachala
1 Replies

3. Shell Programming and Scripting

Help with linux bash script

Hello everybody! This is my first time having to write a script so your help is most appreciated.Also i am a beginner when it comes to linux so please bare with me.Thanks in advance to all who will look into this for me. I have to write a bash script that will show the free space on the hard... (4 Replies)
Discussion started by: manike
4 Replies

4. Shell Programming and Scripting

Linux script help

I am creating a script that will incorporate multiple variables organized in a spreadsheet for pdftk. I have a 1000 page pdf that I have to split into about 300 individual pdfs. The basic command line to extract pages is as follows: $ pdftk file.pdf cat 1-7 output newfile.pdf file.pdf =... (8 Replies)
Discussion started by: tankcommander
8 Replies

5. Linux

linux script

I need to write a script to which need to track errors in log and need to check last 100 lines in the log at every 5 minits. if error fund need to mail my self error type 1. "STATE_ADMIN" if found need to print: <Jan 5, 2011 11:47:02 AM IST><ewaps2> <ADFAPPS2> < STATE_ADMIN 2."Java heap... (0 Replies)
Discussion started by: udara
0 Replies

6. Shell Programming and Scripting

Help, Linux Script

#!/bin/sh args=("$@") echo "#=================================" echo "#Script Name:" echo "#By:" echo "#Purpose:" echo "#:Command Line: picoc" echo "#=================================" pico $@ this is my script. i think it is ok w/o error. but when i run it i got error. i'm using a VMBox... (1 Reply)
Discussion started by: jrdncchr
1 Replies

7. Shell Programming and Scripting

Need linux script!!

I have a text file like this: 25 raj 78 rohit 89 bhanu 58 mohit 29 mano 53 rohit 63 shiva 74 lapan 63 bhanu what i need is a linux script to reorganize this file by adding the relevant content(number) to the names and print only once.... please help me someone. ... (1 Reply)
Discussion started by: shan1990
1 Replies

8. Shell Programming and Scripting

Need help! Linux shell script

Hi all, I am trying to make a Nodemanager work in RHEL 5 I got this script from 'oraclemiddleware.wordpress.com', and made appropriate changes to suit my weblogic installation. I keep getting the error, "line 82: syntax error: unexpected end of file". I have checked every line to make sure all... (4 Replies)
Discussion started by: chakrv1
4 Replies

9. UNIX for Dummies Questions & Answers

Linux script

Hello, could you please help me with the following request? I need a linux command script that does the following. 1. delete folders folder1 and folder2 located in install/users/web/folder1&2. and also delete folder3 install/jboss/server/folder3. All these folders has many folder and files... (1 Reply)
Discussion started by: bern11
1 Replies

10. Shell Programming and Scripting

Linux script - help!!

I need to create a bash script to run through crontab, to do the below job: 1- find files that are over 12 months old in /var "files are like file_201201222.mtd file_201201333.mtd 2- Tar them in /backup like: file_201201.tar.bz2 "every month in one tar file" 3- remove them after that 4- Send... (8 Replies)
Discussion started by: Ahmad M. Kamel
8 Replies
ldns(3) 						     Library Functions Manual							   ldns(3)

NAME
ldns_rdf2buffer_str_a, ldns_rdf2buffer_str_aaaa, ldns_rdf2buffer_str_str, ldns_rdf2buffer_str_b64, ldns_rdf2buffer_str_hex, ldns_rdf2buf- fer_str_type, ldns_rdf2buffer_str_class, ldns_rdf2buffer_str_alg, ldns_rdf2buffer_str_loc, ldns_rdf2buffer_str_unknown, ldns_rdf2buf- fer_str_nsap, ldns_rdf2buffer_str_wks, ldns_rdf2buffer_str_nsec, ldns_rdf2buffer_str_period, ldns_rdf2buffer_str_tsigtime, ldns_rdf2buf- fer_str_apl, ldns_rdf2buffer_str_int16_data, ldns_rdf2buffer_str_int16, ldns_rdf2buffer_str_ipseckey SYNOPSIS
#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> ldns_status ldns_rdf2buffer_str_a(ldns_buffer *output, const ldns_rdf *rdf); ldns_status ldns_rdf2buffer_str_aaaa(ldns_buffer *output, const ldns_rdf *rdf); ldns_status ldns_rdf2buffer_str_str(ldns_buffer *output, const ldns_rdf *rdf); ldns_status ldns_rdf2buffer_str_b64(ldns_buffer *output, const ldns_rdf *rdf); ldns_status ldns_rdf2buffer_str_hex(ldns_buffer *output, const ldns_rdf *rdf); ldns_status ldns_rdf2buffer_str_type(ldns_buffer *output, const ldns_rdf *rdf); ldns_status ldns_rdf2buffer_str_class(ldns_buffer *output, const ldns_rdf *rdf); ldns_status ldns_rdf2buffer_str_alg(ldns_buffer *output, const ldns_rdf *rdf); ldns_status ldns_rdf2buffer_str_loc(ldns_buffer *output, const ldns_rdf *rdf); ldns_status ldns_rdf2buffer_str_unknown(ldns_buffer *output, const ldns_rdf *rdf); ldns_status ldns_rdf2buffer_str_nsap(ldns_buffer *output, const ldns_rdf *rdf); ldns_status ldns_rdf2buffer_str_wks(ldns_buffer *output, const ldns_rdf *rdf); ldns_status ldns_rdf2buffer_str_nsec(ldns_buffer *output, const ldns_rdf *rdf); ldns_status ldns_rdf2buffer_str_period(ldns_buffer *output, const ldns_rdf *rdf); ldns_status ldns_rdf2buffer_str_tsigtime(ldns_buffer *output, const ldns_rdf *rdf); ldns_status ldns_rdf2buffer_str_apl(ldns_buffer *output, const ldns_rdf *rdf); ldns_status ldns_rdf2buffer_str_int16_data(ldns_buffer *output, const ldns_rdf *rdf); ldns_status ldns_rdf2buffer_str_int16(ldns_buffer *output, const ldns_rdf *rdf); ldns_status ldns_rdf2buffer_str_ipseckey(ldns_buffer *output, const ldns_rdf *rdf); DESCRIPTION
ldns_rdf2buffer_str_a() Converts an LDNS_RDF_TYPE_A rdata element to string format and adds it to the output buffer *rdf: The rdata to convert *output: The buffer to add the data to Returns LDNS_STATUS_OK on success, and error status on failure ldns_rdf2buffer_str_aaaa() Converts an LDNS_RDF_TYPE_AAAA rdata element to string format and adds it to the output buffer *rdf: The rdata to convert *output: The buffer to add the data to Returns LDNS_STATUS_OK on success, and error status on failure ldns_rdf2buffer_str_str() Converts an LDNS_RDF_TYPE_STR rdata element to string format and adds it to the output buffer *rdf: The rdata to convert *output: The buffer to add the data to Returns LDNS_STATUS_OK on success, and error status on failure ldns_rdf2buffer_str_b64() Converts an LDNS_RDF_TYPE_B64 rdata element to string format and adds it to the output buffer *rdf: The rdata to convert *output: The buffer to add the data to Returns LDNS_STATUS_OK on success, and error status on failure ldns_rdf2buffer_str_hex() Converts an LDNS_RDF_TYPE_HEX rdata element to string format and adds it to the output buffer *rdf: The rdata to convert *output: The buffer to add the data to Returns LDNS_STATUS_OK on success, and error status on failure ldns_rdf2buffer_str_type() Converts an LDNS_RDF_TYPE_TYPE rdata element to string format and adds it to the output buffer *rdf: The rdata to convert *output: The buffer to add the data to Returns LDNS_STATUS_OK on success, and error status on failure ldns_rdf2buffer_str_class() Converts an LDNS_RDF_TYPE_CLASS rdata element to string format and adds it to the output buffer *rdf: The rdata to convert *output: The buffer to add the data to Returns LDNS_STATUS_OK on success, and error status on failure ldns_rdf2buffer_str_alg() Converts an LDNS_RDF_TYPE_ALG rdata element to string format and adds it to the output buffer *rdf: The rdata to convert *output: The buffer to add the data to Returns LDNS_STATUS_OK on success, and error status on failure ldns_rdf2buffer_str_loc() Converts an LDNS_RDF_TYPE_LOC rdata element to string format and adds it to the output buffer *rdf: The rdata to convert *output: The buffer to add the data to Returns LDNS_STATUS_OK on success, and error status on failure ldns_rdf2buffer_str_unknown() Converts an LDNS_RDF_TYPE_UNKNOWN rdata element to string format and adds it to the output buffer *rdf: The rdata to convert *output: The buffer to add the data to Returns LDNS_STATUS_OK on success, and error status on failure ldns_rdf2buffer_str_nsap() Converts an LDNS_RDF_TYPE_NSAP rdata element to string format and adds it to the output buffer *rdf: The rdata to convert *output: The buffer to add the data to Returns LDNS_STATUS_OK on success, and error status on failure ldns_rdf2buffer_str_wks() Converts an LDNS_RDF_TYPE_WKS rdata element to string format and adds it to the output buffer *rdf: The rdata to convert *output: The buffer to add the data to Returns LDNS_STATUS_OK on success, and error status on failure ldns_rdf2buffer_str_nsec() Converts an LDNS_RDF_TYPE_NSEC rdata element to string format and adds it to the output buffer *rdf: The rdata to convert *output: The buffer to add the data to Returns LDNS_STATUS_OK on success, and error status on failure ldns_rdf2buffer_str_period() Converts an LDNS_RDF_TYPE_PERIOD rdata element to string format and adds it to the output buffer *rdf: The rdata to convert *output: The buffer to add the data to Returns LDNS_STATUS_OK on success, and error status on failure ldns_rdf2buffer_str_tsigtime() Converts an LDNS_RDF_TYPE_TSIGTIME rdata element to string format and adds it to the output buffer *rdf: The rdata to convert *output: The buffer to add the data to Returns LDNS_STATUS_OK on success, and error status on failure ldns_rdf2buffer_str_apl() Converts an LDNS_RDF_TYPE_APL rdata element to string format and adds it to the output buffer *rdf: The rdata to convert *output: The buffer to add the data to Returns LDNS_STATUS_OK on success, and error status on failure ldns_rdf2buffer_str_int16_data() Converts an LDNS_RDF_TYPE_INT16_DATA rdata element to string format and adds it to the output buffer *rdf: The rdata to convert *output: The buffer to add the data to Returns LDNS_STATUS_OK on success, and error status on failure ldns_rdf2buffer_str_int16() Converts an LDNS_RDF_TYPE_INT16 rdata element to string format and adds it to the output buffer *rdf: The rdata to convert *output: The buffer to add the data to Returns LDNS_STATUS_OK on success, and error status on failure ldns_rdf2buffer_str_ipseckey() Converts an LDNS_RDF_TYPE_IPSECKEY rdata element to string format and adds it to the output buffer *rdf: The rdata to convert *output: The buffer to add the data to Returns LDNS_STATUS_OK on success, and error status on failure 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
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)
All times are GMT -4. The time now is 12:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy