Re: unix2dos and dos2unix
[email protected] (Jarkko Hietaniemi) Wed, 27 Mar 2002 22:05:28 +0200
| Newsgroups | perl.scripts |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Mar 27, 2002 at 05:12:57PM -0300, John Lenton wrote: > On Wed, Mar 27, 2002 at 11:33:45AM -0800, William R Ward wrote: > > my $unix = "\n"; > > AFAIK, "\n" is only "\n" on unixoids; elsewhere it does what the > OS needs to have print "hello, world?\n" Just Work(tm). Instead of using \n and \r I propose to use the explicit \x0D and \x0A. > -- > John Lenton ([email protected]) -- Random fortune: > Diferentes en la vida, los hombres son semejantes en la muerte. > -- Lao Tse. (Siglo VI a.C.) Filósofo chino. Fundador del taoismo. -- $jhi++; # http://www.iki.fi/jhi/ # There is this special biologist word we use for 'stable'. # It is 'dead'. -- Jack Cohen