From: Martin Duerst (firstname.lastname@example.org)
Date: Fri Feb 21 2003 - 13:10:56 EST
At 13:14 03/02/18 -0800, Jonathan Coxhead wrote:
> That's a very long-winded way of writing it!
> How about this:
> #!/usr/bin/perl -pi~ -0777
> # program to remove a leading UTF-8 BOM from a file
> # works both STDIN -> STDOUT and on the spot (with filename as
>which uses perl's -p, -i and -0 options to the same effect.
Yes, indeed, that's perfect. I was thinking about something
in that direction, but never got to check it out, sorry.
This archive was generated by hypermail 2.1.5 : Fri Feb 21 2003 - 14:09:07 EST