Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Remove VI encryption key from file Post 302430721 by Scott on Friday 18th of June 2010 12:41:35 PM
Old 06-18-2010
Hi.

Use:

Code:
:set key=

then save the file.

PS: Thread renamed. Do not use "Urgent" as a thread subject, thank you.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

File encryption/Key encryption ????

My dilemma, I need to send, deemed confidential, information via e-mail (SMTP). This information is sitting as a file on AIX. Typically I can send this data as a e-mail attachment via what we term a "mail filter" using telnet. I now would like to somehow encrypt the data and send it to a e-mail... (1 Reply)
Discussion started by: hugow
1 Replies

2. UNIX for Dummies Questions & Answers

VIM: Encryption key.

I'm having one doubt about the VIM ENCRYPTION key. I having a text file, I encrypted that file using :X vim -x filename Now, where the encrypted key is stored (path). Whether it stored in a separate file or the text file itself. If I open a the file it asked Encryption key. How it compare... (1 Reply)
Discussion started by: ungalnanban
1 Replies

3. Shell Programming and Scripting

remove 1st and last last values of a key

For every specific keys i.e. 1st and 4th columns (a1 and ABC_001144992) remove 1st and last value (bold ones - 87942437 and 87952030 ) and print remaining input a1 87942437 87943147 1E ABC_001144992 a1 87945162 87945276 2E ABC_001144992 a1 87949524 87952030 3E ABC_001144992 a1... (3 Replies)
Discussion started by: repinementer
3 Replies

4. Shell Programming and Scripting

Remove duplicates based on the two key columns

Hi All, I needs to fetch unique records based on a keycolumn(ie., first column1) and also I needs to get the records which are having max value on column2 in sorted manner... and duplicates have to store in another output file. Input : Input.txt 1234,0,x 1234,1,y 5678,10,z 9999,10,k... (7 Replies)
Discussion started by: kmsekhar
7 Replies

5. Linux

It is possible to find out when a particular encryption key was imported in linux

Hi All, In linux server some encryption keys were imported using gpg command. I want to know when those keys was imported. Is there any way to get when the encryption keys were imported? Thanks in advance.. :rolleyes: (1 Reply)
Discussion started by: latika
1 Replies

6. Shell Programming and Scripting

Remove Duplicates on multiple Key Columns and get the Latest Record from Date/Time Column

Hi Experts , we have a CDC file where we need to get the latest record of the Key columns Key Columns will be CDC_FLAG and SRC_PMTN_I and fetch the latest record from the CDC_PRCS_TS Can we do it with a single awk command. Please help.... (3 Replies)
Discussion started by: vijaykodukula
3 Replies

7. Cybersecurity

File encryption tools with MAC address as an encryption key

Hi all, I'm looking for secure file encryption tools that use MAC address as encryption key. FYI, I'm using Red Hat Enterprise Linux OS. For example: when A wants to send file to B A will encrypt the file with B's computer MAC/IP address as an encryption key This file can only be decrypted... (2 Replies)
Discussion started by: sergionicosta
2 Replies

8. UNIX for Advanced & Expert Users

Private and public key encryption

Hi, we have private and public key, encrypt file using public and want to decrypt using private key. can you please advise below commands are correct or other remedy if unix have? encrypt -a arcfour -k publickey.asc -i TESTFILE.csv -o TESTFILE00.csv decrypt -a arcfour -k privatekey.asc... (2 Replies)
Discussion started by: rizwan.shaukat
2 Replies

9. Shell Programming and Scripting

Remove first meta key from json records using shell

Hi All, I need to get rid of initial meta key from json files with enclosed parenthesis from start and end of the lines which has total 4000 lines. here is the sample Json records : {"start": true, "meta": {"name": "xyz", "creation": "2017-07-14T16:20:06.000+02:00"}} I need to remove... (7 Replies)
Discussion started by: Cloud_Ninja
7 Replies
Thread(3pm)						User Contributed Perl Documentation					       Thread(3pm)

NAME
Mail::Thread - Perl implementation of JWZ's mail threading algorithm SYNOPSIS
use Mail::Thread; my $threader = new Mail::Thread (@messages); $threader->thread; dump_em($_,0) for $threader->rootset; sub dump_em { my ($self, $level) = @_; print ' \-> ' x $level; if ($self->message) { print $self->message->head->get("Subject") , " "; } else { print "[ Message $self not available ] "; } dump_em($self->child, $level+1) if $self->child; dump_em($self->next, $level) if $self->next; } DESCRIPTION
This module implements something relatively close to Jamie Zawinski's mail threading algorithm, as described by http://www.jwz.org/doc/threading.html. Any deviations from the algorithm are accidental. It's happy to be handed any mail object supported by "Email::Abstract". If you need to do anything else, you'll have to subclass and override "_get_hdr". METHODS
new(@messages) Creates a new threader; requires a bunch of messages to thread. thread Goes away and threads the messages together. rootset Returns a list of "Mail::Thread::Container"s which are not the parents of any other message. order($ordering_sub) calls "order_children" over each member of the root set, from one level higher "Mail::Thread::Container" methods "Mail::Thread::Container"s are the nodes of the thread tree. You can't just have the ordinary messages, because we might not have the message in question. For instance, a mailbox could contain two replies to a question that we haven't received yet. So all "logical" messages are stuffed in containers, whether we happen to have that container or not. To do anything useful with the thread tree, you're going to have to recurse around the list of "Mail::Thread::Containers". You do this with the following methods: parent child next Returns the container which is the parent, child or immediate sibling of this one, if one exists. message Returns the message held in this container, if we have one. messageid Returns the message ID for this container. This will be around whether we have the message or not, since some other message will have referred to it by message ID. header( $name ) returns the named header of the contained message subject returns the subject line of the contained message isreply examines the results of ->subject and returns true if it looks like a reply simple_subject the simplified version of ->subject (with reply markers removed) has_descendent($child) Returns true if this container has the given container as a child somewhere beneath it. add_child($child) Add the $child as a child of oneself. remove_child($child) Remove the $child as a child from oneself. children Returns a list of the immediate children of this container. set_children(@children) set the children of a node. does not update the ->parents of the @children order_children($ordering_sub) Recursively reorders children according to the results of $ordering_sub $ordering_sub is called with the containers children, and is expected to return them in their new order. # order by subject line $container->order_children( sub { sort { $a->topmost->message->subject cmp $b->topmost->message->subject } @_ } ); $ordering_sub may be omitted, in which case no ordering takes place topmost Walks the tree depth-first and returns the first message container found with a message attached recurse_down($callback) Calls the given callback on this node and all of its children. DEBUGGING
You can set $Mail::Thread::debug=1 to watch what's going on. MAINTAINER
Tony Bowden BUGS and QUERIES Please direct all correspondence regarding this module to: bug-Mail-Thread@rt.cpan.org ORIGINAL AUTHOR
Simon Cozens, <simon@cpan.org> COPYRIGHT AND LICENSE
Copyright 2003 by Kasei Copyright 2004 by Simon Cozens This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.0 2006-10-30 Thread(3pm)
All times are GMT -4. The time now is 11:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy