Mailing List Archive


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

Re: [tlug] CJK Printing from Web Browsers in Debian 3.3.2



On 04/11/06, Godwin Stewart <godwin.stewart@example.com> wrote:

On Sat, 4 Nov 2006 18:49:08 +0900, "Josh Glover" <jmglov@example.com>
wrote:

> 11. The "$" matches the EOL (End-Of-Line) character, which on Unix is
> '\n', and on Windows (and maybe Mac?) is "\r\n".

EOL in Mac parlance is \r on its own. JFTR...

Unix: \n
DOS/doze: \r\n
Mac: \r

Thanks. Haven't done any coding for the Mac at that high a level... wrote some 68k assembly back in the day, and then wrote some PowerPC assemly in uni, but newline conventions don't matter terribly much when issuing instructions to a CPU. :)

Always makes text editing that much easier...

Which is why I am happy that regex engines provide ^ and $

-Josh


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links