1. Use an editor that can work with unix newlines, most developer editors can.

2. Use some tool that can convert between various newlines - search the web. Command line utility todos/fromdos is one, but it might be available only on unices.

John wrote:
hi,

i must have downloaded my php files in binary format or something, but now,
instead of readable carriage returns after each line of code, theres a 'box'
and then no carriage return. so the whole file is on one line. then other
files have an extra carriage return between lines. could i remove these with
php and regular expressions?? if so, what should i be searching for, for the
'boxes'

if not, can word or wordpad, or anything else do it. i could go through
every file and delete the box and add a carriage return, but that would take
ages


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to