conf/88712: [UPDATE] freebsd-tips: Add "how to strip UTF-8 BOM"
Pav Lucistnik
pav at FreeBSD.org
Sun Sep 24 03:10:28 PDT 2006
The following reply was made to PR conf/88712; it has been noted by GNATS.
From: Pav Lucistnik <pav at FreeBSD.org>
To: chinsan <chinsan.tw at gmail.com>
Cc: FreeBSD-gnats-submit at FreeBSD.org, bug-followup at FreeBSD.org
Subject: Re: conf/88712: [UPDATE] freebsd-tips: Add "how to strip UTF-8 BOM"
Date: Sun, 24 Sep 2006 12:04:21 +0200
> > Typo? Byte Order Mark.
> Oh, Sorry. It's a typo. :p
>
> >
> > Also, why -i flag, when you're not editing the file inplace?
> >
> > $ sed -i -s -e 's|a|b|' < foo > ooof
> > sed: -i may not be used with stdin
> Thanks for notice, the floowing is the modified patch:
>
> sed -e '1s/^\xef\xbb\xbf//' < bomfile > newfile
>
> Would you please take a review with it again?
> Thanks. :)
You're a committer now, you can handle the PR yourself now.
I think it looks fine now.
--
Pav Lucistnik <pav at oook.cz>
<pav at FreeBSD.org>
Shop at the Mobius Strip Mall: Always on the same side of the street!
More information about the freebsd-bugs
mailing list