$(PERL)  -ane print "$_\015";' <infile >outfile

On 1/19/07, Luis Ontanon <[EMAIL PROTECTED]> wrote:
> oops that would be
> $(PERL) -ae 'chomp; print "$_\015";' <infile >outfile
>
> On 1/19/07, Luis Ontanon <[EMAIL PROTECTED]> wrote:
> > maybe not, but the following perl command line does the work.
> >
> >
> > # this "nativizes" eols
> > ${PERL} -ae 'chomp; print "$_\n";'
> >
> > # this "DOSifies" eols
> > ${PERL} -ae 'chomp; print "$_\012\015";'
> >
> > # this "Unixizes" eols
> > ${PERL} -ae 'chomp; print "$_\015";'
> >
> > # this "OldMacIzes" eols
> > ${PERL} -ae 'chomp; print "$_\012";'
> >
> >
> > On 1/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > > http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=20491
> > >
> > > User: ulfl
> > > Date: 2007/01/18 11:57 PM
> > >
> > > Log:
> > >  the docbook generation also suffers from the cygwin bash CR/LF problem 
> > > :-(
> > >  I've added a call to dos2unix to convert check_svn_version.sh that way
> > >
> > >  Is it safe to assume that dos2unix is available on a common UNIX 
> > > developer machine?!?
> > >
> > > Directory: /trunk/docbook/
> > >   Changes    Path          Action
> > >   +1 -0      Makefile      Modified
> > >
> > > _______________________________________________
> > > Wireshark-commits mailing list
> > > [email protected]
> > > http://www.wireshark.org/mailman/listinfo/wireshark-commits
> > >
> >
> >
> > --
> > This information is top security. When you have read it, destroy yourself.
> > -- Marshall McLuhan
> >
>
>
> --
> This information is top security. When you have read it, destroy yourself.
> -- Marshall McLuhan
>


-- 
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan
_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to