From owner-freebsd-bugs@FreeBSD.ORG Sun Sep 24 10:10:28 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4082516A403 for ; Sun, 24 Sep 2006 10:10:28 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 827E343D5C for ; Sun, 24 Sep 2006 10:10:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k8OAARLJ041561 for ; Sun, 24 Sep 2006 10:10:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k8OAARD7041560; Sun, 24 Sep 2006 10:10:27 GMT (envelope-from gnats) Date: Sun, 24 Sep 2006 10:10:27 GMT Message-Id: <200609241010.k8OAARD7041560@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Pav Lucistnik Cc: Subject: Re: conf/88712: [UPDATE] freebsd-tips: Add "how to strip UTF-8 BOM" X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pav Lucistnik List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Sep 2006 10:10:28 -0000 The following reply was made to PR conf/88712; it has been noted by GNATS. From: Pav Lucistnik To: chinsan 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 Shop at the Mobius Strip Mall: Always on the same side of the street!