Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Sep 2006 05:10:26 GMT
From:      chinsan <chinsan.tw@gmail.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: conf/88712: [UPDATE] freebsd-tips: Add "how to strip UTF-8 BOM"
Message-ID:  <200609240510.k8O5AQfR009839@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: chinsan <chinsan.tw@gmail.com>
To: "Pav Lucistnik" <pav@freebsd.org>
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 13:02:01 +0800

 Hi, pav:
 
 > 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. :)
 
 - chinsan



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