Explicitly disable wrapping when writing to file, leaving it up to the
user's editor. No reason to have shelldap and editor wrap battles.
Dennis Kaarsemaker <dennis.kaarsemaker@booking.com>
--- a/CONTRIBUTORS Mon Aug 11 11:07:00 2014 -0700
+++ b/CONTRIBUTORS Mon Aug 11 11:19:01 2014 -0700
@@ -1,5 +1,6 @@
Adam Spiers <adam@spiers.net>
Alexander Perlis <aperlis@math.lsu.edu>
+Dennis Kaarsemaker <dennis.kaarsemaker@booking.com>
Emile "iMil" Heitor <imil@home.imil.net>
Gertjan Halkes <shelldap@ghalkes.nl>
Giacomo Tenaglia <Giacomo.Tenaglia@cern.ch>
--- a/shelldap Mon Aug 11 11:07:00 2014 -0700
+++ b/shelldap Mon Aug 11 11:19:01 2014 -0700
@@ -655,7 +655,7 @@
if ( $use_temp ) {
my ( undef, $fname ) =
File::Temp::tempfile( 'shelldap_XXXXXXXX', SUFFIX => '.ldif', DIR => '/tmp', UNLINK => 1 );
- $self->{'ldif'} = Net::LDAP::LDIF->new( $fname, 'w', sort => 1, wrap => $self->wrapsize );
+ $self->{'ldif'} = Net::LDAP::LDIF->new( $fname, 'w', sort => 1, wrap => 0 )
$self->{'ldif_fname'} = $fname;
}
@@ -2248,7 +2248,7 @@
use warnings;
$0 = 'shelldap';
-my $VERSION = '1.0.2';
+my $VERSION = '1.2.0';
use Getopt::Long;
use YAML::Syck;