dd is your friend.
Start with this:
It is late for me - play around with the 22 block size until it works. I think your input block size is 22 with byte 22=space. Read the dd manpage.
Hi Everybody!
Situation:
I have a large ASCII file (for example: 1-2 Mbytes) without linebreaks (\n).
Task:
I like inserting linebreaks after all 420 digits (byte).
(pattern: *\n*\n*\n...etc.)
My problem:
How? :-)
I like using shell script or (maybe) AWK (short) program.
Please,... (2 Replies)
I've been having trouble trying to read an ASCII file. I'm on an IRIX machine, by the way. I've tried "cat" and I get a bunch of unreadable text, and the "string" command gets the "Command not Found" error. Please advise.
Thanks. (1 Reply)
Hi gurus,
I have a file in unix with ascii values. I need to convert all the ascii values in the file to ascii characters. File contains nearly 20000 records with ascii values. (10 Replies)
Hi All,
I have a requirement to create a formatted text.
That is., I have a plain text composed to send it through an Email using mailx.
I need to change the formatting of the text like BOLD, ITALIC, UNDERINED, COLOURED, INDENT etc.,
First of all, is it possible in UNIX?
If yes, please let... (3 Replies)
Hi,
I have a file which is around 193 gb in size. This file has tonnes of spaces and I need to sanitize it.
I tried to use awk script to split this file but it gave me an error like line to long...
As of now I am using a sed command to search replace the spaces; however its too slow for such a... (2 Replies)
Hello all,
To give you all a little bit of background. We recently migrated from HP-UX to Redhat Linux and one of the command I used to run on HP-UX to convert an EBCDIC file to ASCII file isn't working on Linux. The code is as follow:
cat workout2.dat | dd cbs=250 conv=block conv=ascii... (3 Replies)
Hi Folks,
While transferring file from FTP software like Filezilla the files gets corrupted.
Is there any way I can check if the recently transferred file is in ASCII and not corrupted. I have tried using file -i filename command which does tell if the file character set is ASCII or binary... (6 Replies)
Hi All,
I have an ascii file in which few columns are having hex values which i need to convert into ascii. Kindly suggest me what command can be used in unix shell scripting?
Thanks in Advance (2 Replies)
Hi Team,
I am having 100 EBCDIC files (i.e. DAT extension) and need to convert them into ASCII File by unix shell script.
I tried with DD Command but its not providing output as expected.
Sample Text:
------------------
גהאבדוחס@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Expected Output:... (2 Replies)
Discussion started by: JSM
2 Replies
LEARN ABOUT MOJAVE
mail::dkim5.18
Mail::DKIM(3) User Contributed Perl Documentation Mail::DKIM(3)NAME
Mail::DKIM - Signs/verifies Internet mail with DKIM/DomainKey signatures
SYNOPSIS
# verify a message
use Mail::DKIM::Verifier;
# create a verifier object
my $dkim = Mail::DKIM::Verifier->new();
# read an email from stdin, pass it into the verifier
while (<STDIN>)
{
# remove local line terminators
chomp;
s/ 15$//;
# use SMTP line terminators
$dkim->PRINT("$_ 15 12");
}
$dkim->CLOSE;
# what is the result of the verify?
my $result = $dkim->result;
DESCRIPTION
This module implements the various components of the DKIM and DomainKeys message-signing and verifying standards for Internet mail. It
currently tries to implement these specifications:
RFC4871, for DKIM
RFC4870, for DomainKeys
The module uses an object-oriented interface. You use one of two different classes, depending on whether you are signing or verifying a
message. To sign, use the Mail::DKIM::Signer class. To verify, use the Mail::DKIM::Verifier class. Simple, eh?
SEE ALSO
Mail::DKIM::Signer, Mail::DKIM::Verifier
http://dkimproxy.sourceforge.net/
KNOWN BUGS
Problems passing `make test' seem to usually point at a faulty DNS configuration on your machine, or something weird about your OpenSSL
libraries.
The "author signing policy" component is still under construction. The author signing policy is supposed to identify the practice of the
message author, so you could for example reject a message from an author who claims they always sign their messages. See
Mail::DKIM::Policy.
AUTHOR
Jason Long, <jlong@messiah.edu>
COPYRIGHT AND LICENSE
Copyright (C) 2006-2007, 2009 by Messiah College
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or,
at your option, any later version of Perl 5 you may have available.
perl v5.18.2 2012-11-28 Mail::DKIM(3)