Re: Bug #18028 Updated: MDB - wrong end of lines
| From: | Jesus M. Castagnetto | Date: | Fri, 28 Jun 2002 16:03:14 +0000 |
| Subject: | Re: Bug #18028 Updated: MDB - wrong end of lines | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-7403@lists.php.net to get a copy of this message | ||
If you got access to a Unix/Linux box (or have the appropriate tools for
Windows), the line:
tr -d '\r' < infile > outfile
should clear that up.
The alternative would be to use VIM/GVIM for Windows (www.vim.org) and use
:set ff="unix"
:set ffs="unix"
And for good measure:
:s/^M//g
The ^M is made pressing ^V^M where ^ = control-key
You can also put those "set"
lines in your .vimrc (or _vimrc, or whatever it is
for windows).
--- lsmith@php.net wrote:
> ID: 18028
> Updated by: lsmith@php.net
> Reported By: blues@ds.pg.gda.pl
> -Status: Closed
> +Status: Open
> Bug Type: PEAR related
> Operating System: Unix
> PHP Version: 4.0CVS-2002-06-27
> New Comment:
>
> blech ...
> something is not working like i want it to
> i will look into it and try to fix things tomorrow
>
>
> Previous Comments:
> ------------------------------------------------------------------------
>
> [2002-06-28 10:28:48] lsmith@php.net
>
> This bug has been fixed in CVS. You can grab a snapshot of the
> CVS version at http://snaps.php.net/. In case this was a
> documentation
> problem, the fix will show up soon at
> http://www.php.net/manual/.
> In case this was a PHP.net website problem, the change will show
> up on the PHP.net site and on the mirror sites.
> Thank you for the report, and for helping us make PHP better.
>
> thx for spotting
> /me slaps his windows editor ...
>
> ------------------------------------------------------------------------
>
> [2002-06-27 18:03:37] blues@ds.pg.gda.pl
>
> This class has only \r at the end of the lines... This causes trouble
> on some Unices. Should be correct end of line.
>
> ------------------------------------------------------------------------
>
>
> --
> Edit this bug report at
> http://bugs.php.net/?id=18028&edit=1
>
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
=====
--- Jesus M. Castagnetto (jcastagnetto@yahoo.com)
Research:
http://metallo.scripps.edu/
Personal: http://www.castagnetto.org/
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com