[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] keeping my newlines straight



> a.  Confirmation/explanation

BBEdit normally transparently displays UNIX and DOS text formats, so either
this function is somehow turned off or the file has random linefeeds (UNIX
newlines) or the line breaks are LF/CR, which wouldn't make sense.

> b.  A way to convert these newlines to regular newlines in BBEdit so
> that the text will wrap when it encounters one.

One way is to use Zap Gremlins to change them into bullets then replace all
bullets with CR's. Unless there are bullets in the text, but you can use any
character.

> c.  A way to print each item of a list on a separate line.

Without using a special variable:

print join "\n", @array;

-K


# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org