in reply to Re: Native newline encoding
in thread Native newline encoding
Under Windoze 7:
>perl -wMstrict -le "my $fred; open O, '>', \$fred;; { local( $/, $\ ); print O \"\n\";; };; close O;; print unpack 'H*', $fred;; " 0a
I assume the result is the same on a *nix system. Anyone care to try the Mac?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Native newline encoding
by Your Mother (Archbishop) on May 23, 2012 at 01:12 UTC | |
by AnomalousMonk (Archbishop) on May 23, 2012 at 03:41 UTC | |
by Your Mother (Archbishop) on May 23, 2012 at 13:47 UTC | |
|
Re^3: Native newline encoding
by BrowserUk (Patriarch) on May 23, 2012 at 04:40 UTC |