Hi, pls advise how we could make change to more than one pattern in a single line using sed..
ie:
IGNORE abcd delete}}}
COND IGNORE efgh}}}
will yield in
abcd delete}}
COND IGNORE efgh}}}
Pls note that IGNORE may not be in the start of line, IGNORE is intended to be... (6 Replies)
Hi all,
I been searching the forum for a few hours now and can't find exactly what I need to replace text between two patterns. Below is what I want to accomplish
/* Any text between these to sympols */
changed to....
/* This will be the new text to change */
..and I'm... (3 Replies)
I am trying to do some thing like this ..
In a file , if pattern found insert new pattern at the begining of the line containing the pattern.
example:
in a file I have this.
gtrow0unit1/gctunit_crrownorth_stage5_outnet_feedthru_pin
if i find feedthru_pin want to insert !! at the... (7 Replies)
Hi,
I have a file which contains the below data. I want to change pattern to correct format.
# tail -1 test.log | awk '{print $8}'
10/09/23
#
I want the format to be 23/09/10 (5 Replies)
Hi,
I have a file which contains the below data. I want to search for a pattern server="http://bushby.mis.amat.com:12440" and remove it from the file.
Please let me know how can i do this.
<Object name="reverse-proxy-/endeavour/">
ObjectType fn="http-client-config" timeout="1800"... (6 Replies)
Hi experts , im new to Unix,AWK ,and im just not able to get this right.
I need to match for some patterns if it matches I need to print the next few words to it.. I have only three such conditions to match… But I need to print only those words that comes after satisfying the first condition..... (2 Replies)
i have little challenge, help me out.i have a file where i have a value declared and and i have to replace the value when called. for example i have the value for abc and ccc. now i have to substitute the value of
value abc and ccc in the place of them.
Input File:
go to &abc=ddd;
if... (16 Replies)
Hi,
I have a text file with lots of text (strings,numbers,special characters etc). I am trying to replace any occurrence of these strings :
90%
91%
92%
....
100%
I want to replace them with :
"90%"
"91%"
"92%"
....
"100%"
I am now using 10 sed commands for replacement but I... (12 Replies)
The intended result should be :
PDF converters
'empty line'
gpdftext and pdftotext?xml version="1.0"?>
xml:space="preserve"><note-content version="0.1" xmlns:/tomboy/link" xmlns:size="http://beatniksoftware.com/tomboy/size">PDF converters
gpdftext and pdftotext</note-content>... (9 Replies)
Discussion started by: Klasform
9 Replies
LEARN ABOUT OSX
net::ldap::control::managedsait
Net::LDAP::Control::ManageDsaIT(3) User Contributed Perl Documentation Net::LDAP::Control::ManageDsaIT(3)NAME
Net::LDAP::Control::ManageDsaIT - LDAPv3 Manage DSA-IT control object
SYNOPSIS
use Net::LDAP;
use Net::LDAP::Control::ManageDsaIT;
$ldap = Net::LDAP->new( "ldap.mydomain.eg" );
$manage = Net::LDAP::Control::ManageDsaIT->new( critical => 1 );
$msg = $ldap->modify( 'dc=sub,dc=mydomain,dc=eg",
changes => [
delete => { ref => 'ldap://ldap2/dc=sub,dc=mydom,dc=eg' },
add => { ref => 'ldap://ldap3/dc=sub,dc=mydom,dc=eg' } ],
control => [ $manage ] );
die "error: ",$msg->code(),": ",$msg->error() if ($msg->code());
DESCRIPTION
"Net::LDAP::Control::ManageDsaIT" provides an interface for the creation and manipulation of objects that represent the "ManageDsaIT"
control as described by RFC 3296.
CONSTRUCTOR ARGUMENTS
Since the "ManageDsaIT" control does not have any values only the constructor arguments described in Net::LDAP::Control are supported
METHODS
As there are no additional values in the control only the methods in Net::LDAP::Control are available for "Net::LDAP::Control::ManageDsaIT"
objects.
SEE ALSO
Net::LDAP, Net::LDAP::Control,
AUTHOR
Peter Marschall <peter@adpm.de>.
Please report any bugs, or post any suggestions, to the perl-ldap mailing list <perl-ldap@perl.org>
COPYRIGHT
Copyright (c) 2004 Peter Marschall. All rights reserved. This program is free software; you can redistribute it and/or modify it under the
same terms as Perl itself.
perl v5.16.2 2012-09-20 Net::LDAP::Control::ManageDsaIT(3)