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?
In reply to Re^2: Native newline encoding
by AnomalousMonk
in thread Native newline encoding
by salva
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |