From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: wlharvey4--- via "Bug reports for GUILE, GNU's Ubiquitous Extension Language" Newsgroups: gmane.lisp.guile.bugs Subject: bug#39999: sed -i non-POSIX Date: Wed, 29 Apr 2020 17:37:13 -0700 Message-ID: <0E291356-1D5D-4F19-9809-43F7A2B35643@mac.com> References: <12F04DBA-35DF-49B3-B2BB-B07A95550151@gmail.com> Reply-To: wlharvey4@mac.com Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_21764C9B-64FA-4A9B-951B-9F852187410B" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="61746"; mail-complaints-to="usenet@ciao.gmane.io" To: 39999@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Thu Apr 30 03:07:07 2020 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jTxfP-000Fx6-9G for guile-bugs@m.gmane-mx.org; Thu, 30 Apr 2020 03:07:07 +0200 Original-Received: from localhost ([::1]:49032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTxfO-0001Hz-8r for guile-bugs@m.gmane-mx.org; Wed, 29 Apr 2020 21:07:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52302) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTxfK-0001Hq-N3 for bug-guile@gnu.org; Wed, 29 Apr 2020 21:07:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTxfK-0001Dz-9n for bug-guile@gnu.org; Wed, 29 Apr 2020 21:07:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33404) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jTxfJ-0001Du-UL for bug-guile@gnu.org; Wed, 29 Apr 2020 21:07:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jTxfJ-0004kG-Oc for bug-guile@gnu.org; Wed, 29 Apr 2020 21:07:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <12F04DBA-35DF-49B3-B2BB-B07A95550151@gmail.com> Resent-From: wlharvey4@mac.com Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 30 Apr 2020 01:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39999 X-GNU-PR-Package: guile Original-Received: via spool by 39999-submit@debbugs.gnu.org id=B39999.158820881218216 (code B ref 39999); Thu, 30 Apr 2020 01:07:01 +0000 Original-Received: (at 39999) by debbugs.gnu.org; 30 Apr 2020 01:06:52 +0000 Original-Received: from localhost ([127.0.0.1]:44950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTxfA-0004jk-64 for submit@debbugs.gnu.org; Wed, 29 Apr 2020 21:06:52 -0400 Original-Received: from pv50p00im-hyfv10011601.me.com ([17.58.6.43]:39653) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTxCa-00042E-Te for 39999@debbugs.gnu.org; Wed, 29 Apr 2020 20:37:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mac.com; s=1a1hai; t=1588207035; bh=Jp25o53GbhnGz30hm88ZpExoSHX85Cxbg85IRXt2TGk=; h=From:Content-Type:Subject:Message-Id:Date:To; b=arzqlwD4w85U50BBRyqjS+iq8gPNJqF94H2X76L6ZLF+N5+lvdVHaji8rpf9Oh6Uu g61wrFk7Kkg6M/NNtMMif4pRfWFJsjq1/ibQSiFXe2lehYqwlxbBF2TU4Ac9YBLrxy ubPcl7t990XXiPGn/tAcEl8PDqFIIliiRFD9StUpElPjwI8m7fuEqPYAcU3sZ3f3uz +8p8s+faTpOMjF+BFKcw/R0LSc9OhzJL2/VzMatL32nx0SILfKTJVhkirhijUeOCA3 JN877OF3mx+sYly9As5KlDks7LcljRPFYKzGnm50MkBCeIcbpatqJpaiOcnE4EBsJj ntezl0ry1y+sQ== Original-Received: from [192.168.1.126] (c-73-96-79-94.hsd1.wa.comcast.net [73.96.79.94]) by pv50p00im-hyfv10011601.me.com (Postfix) with ESMTPSA id 022D83806FC for <39999@debbugs.gnu.org>; Thu, 30 Apr 2020 00:37:14 +0000 (UTC) X-Mailer: Apple Mail (2.3445.104.11) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-04-29_11:2020-04-29, 2020-04-29 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=407 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2002250000 definitions=main-2004300000 X-Mailman-Approved-At: Wed, 29 Apr 2020 21:06:50 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:9742 Archived-At: --Apple-Mail=_21764C9B-64FA-4A9B-951B-9F852187410B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Greg, Good point. The BSD sed man page says: "The -E, -a and -i options are non-standard FreeBSD extensions and may = not be available on other operating systems." So perhaps a better solution is to not use the -i option at all and be = POSIX compliant? Informally looking through some of the code, this was the only use of = the -i option that I found. wlh= --Apple-Mail=_21764C9B-64FA-4A9B-951B-9F852187410B Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Greg,

Good = point.  The BSD sed man page says:

"The -E, -a and -i options are = non-standard FreeBSD extensions and may not be available on other = operating systems."

So perhaps a better = solution is to not use the -i option at all and be POSIX = compliant?

Informally looking = through some of the code, this was the only use of the -i option that I = found.

wlh
= --Apple-Mail=_21764C9B-64FA-4A9B-951B-9F852187410B--