Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Remove UTF8 BOM from a large file

15 views
Skip to first unread message

howa

unread,
Mar 14, 2009, 2:35:29 AM3/14/09
to
Hello,

I have some very large files (over GB), are there any command that can
enable me to remove UTF8 BOM from that file (edit in place)

Thanks.

Sam

unread,
Mar 14, 2009, 8:40:22 AM3/14/09
to
howa writes:

You cannot remove characters from a file, "in place". A new file must be
written out, with the unwanted content removed, and the old file removed.


John Hasler

unread,
Mar 14, 2009, 8:59:57 AM3/14/09
to
howa writes:
> Hello,
>
> I have some very large files (over GB), are there any command that can
> enable me to remove UTF8 BOM from that file (edit in place)

man sed
--
John Hasler
jo...@dhh.gt.org
Dancing Horse Hill
Elmwood, WI USA

0 new messages