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

[MacPerl] keeping my newlines straight



Hi:

I've noticed that occasionally I GET (or otherwise obtain) a file 
which apparently is using Unix newline characters?  They show up in 
BBEdit as a little  hollow block (or a red, upside down question mark 
if I turn on 'show invisibles').  If I copy one to the find field in 
BBEdit, it gets transformed into a '\n'.  MacPerl will match it as 
'\012', which is why I figure it's a unix newline.  BBEdit won't 
match anything with '\012' (although it will change it to '\\012' if 
I'm not using grep).

I'm looking for:

a.  Confirmation/explanation

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

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

(I realize this last appears to be unrelated).

Thanks very much,
Eric


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