Friends,
I am in search for a shell script that is capable of running as a cronjob and have to send out an email when ever there is a CORE DUMP.
Please post the hints to achieve my goal.
Thanks in advance. (1 Reply)
Hi, (HP-UX 11.11)
I need to create a tape image of an igniteUX image created on our igniteUX server.
That is to say. I have a "Online" image of the igniteUX of the targeted system but I now need to copy it to a useable TAPE (igniteUX) image so i can build an other server from it that is not... (3 Replies)
hi all
I have to send a mail, that should have an image at the backgound of the text. i know to send it as an attachment, but how can i set it as backgound.
Please help.
Thanks (2 Replies)
Background:
I am replicating a set of servers into a "bubble" for testing. Those systems cannot be aware they are in a "bubble" so I must replicate all external services. I have successfully replicated most of those services except SMTP. I would like to configure an SMTP server that collects... (0 Replies)
I'm setting up a cronjob that will hopefully dump the contents of a email delivered to Maildir/new/ to /home/user/raw.txt (and then delete that email)
I could manually remove the bottom line of the raw email, then place the contents in the next line up in the /home/user/raw.txt, but it seems to... (5 Replies)
I have code below
for i in *.gz; do gzip -dc $i /home/vizion/Desktop/gzipfile/; done
one more
for i in *.gz; do gunzip -dc $i /home/vizion/Desktop/gzipfile/; done
both are getting error: "gunzip: /home/vizion/Desktop/gzipfile/ is a directory -- ignored "
i have requirement below
in... (3 Replies)
Dear all,
I have a directory consisted of files in .jpg, .jpeg etc..all of them are image
20140411030143_62811159403_92886.jpg 5/11/2014 15:01 197K
20140415024737_62811618747_116460.jpg 4/15/2014 14:47 17K
20140415031003_62811618747_109192.jpg 4/17/2014 15:10 17K... (4 Replies)
Discussion started by: radius
4 Replies
LEARN ABOUT LINUX
bio_f_base64
BIO_f_base64(3SSL) OpenSSL BIO_f_base64(3SSL)NAME
BIO_f_base64 - base64 BIO filter
SYNOPSIS
#include <openssl/bio.h>
#include <openssl/evp.h>
BIO_METHOD * BIO_f_base64(void);
DESCRIPTION
BIO_f_base64() returns the base64 BIO method. This is a filter BIO that base64 encodes any data written through it and decodes any data
read through it.
Base64 BIOs do not support BIO_gets() or BIO_puts().
BIO_flush() on a base64 BIO that is being written through is used to signal that no more data is to be encoded: this is used to flush the
final block through the BIO.
The flag BIO_FLAGS_BASE64_NO_NL can be set with BIO_set_flags() to encode the data all on one line or expect the data to be all on one
line.
NOTES
Because of the format of base64 encoding the end of the encoded block cannot always be reliably determined.
RETURN VALUES
BIO_f_base64() returns the base64 BIO method.
EXAMPLES
Base64 encode the string "Hello World
" and write the result to standard output:
BIO *bio, *b64;
char message[] = "Hello World
";
b64 = BIO_new(BIO_f_base64());
bio = BIO_new_fp(stdout, BIO_NOCLOSE);
bio = BIO_push(b64, bio);
BIO_write(bio, message, strlen(message));
BIO_flush(bio);
BIO_free_all(bio);
Read Base64 encoded data from standard input and write the decoded data to standard output:
BIO *bio, *b64, *bio_out;
char inbuf[512];
int inlen;
b64 = BIO_new(BIO_f_base64());
bio = BIO_new_fp(stdin, BIO_NOCLOSE);
bio_out = BIO_new_fp(stdout, BIO_NOCLOSE);
bio = BIO_push(b64, bio);
while((inlen = BIO_read(bio, inbuf, 512)) > 0)
BIO_write(bio_out, inbuf, inlen);
BIO_free_all(bio);
BUGS
The ambiguity of EOF in base64 encoded data can cause additional data following the base64 encoded block to be misinterpreted.
There should be some way of specifying a test that the BIO can perform to reliably determine EOF (for example a MIME boundary).
SEE ALSO
TBA
1.0.0e 2005-11-02 BIO_f_base64(3SSL)