Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Sep 2006 10:10:23 GMT
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: conf/88712: [UPDATE] freebsd-tips: Add "how to strip UTF-8 BOM"
Message-ID:  <200609241010.k8OAANYY041538@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/88712; it has been noted by GNATS.

From: Pav Lucistnik <pav@FreeBSD.org>
To: chinsan <chinsan.tw@gmail.com>
Cc: FreeBSD-gnats-submit@FreeBSD.org, bug-followup@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@oook.cz>
               <pav@FreeBSD.org>
 
 Shop at the Mobius Strip Mall: Always on the same side of the street!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609241010.k8OAANYY041538>