From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Greg Troxel Newsgroups: gmane.lisp.guile.bugs Subject: bug#39999: sed -i non-POSIX Date: Fri, 01 May 2020 10:37:43 -0400 Message-ID: References: <12F04DBA-35DF-49B3-B2BB-B07A95550151@gmail.com> <0E291356-1D5D-4F19-9809-43F7A2B35643@mac.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="96379"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (berkeley-unix) To: 39999@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Fri May 01 16:38:11 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 1jUWnp-000OxQ-Iy for guile-bugs@m.gmane-mx.org; Fri, 01 May 2020 16:38:09 +0200 Original-Received: from localhost ([::1]:54994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUWno-0001oM-KO for guile-bugs@m.gmane-mx.org; Fri, 01 May 2020 10:38:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49206) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUWnj-0001lM-KJ for bug-guile@gnu.org; Fri, 01 May 2020 10:38:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUWni-0004rG-FN for bug-guile@gnu.org; Fri, 01 May 2020 10:38:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38830) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUWni-0004qN-2V for bug-guile@gnu.org; Fri, 01 May 2020 10:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jUWnh-0001Mu-WC for bug-guile@gnu.org; Fri, 01 May 2020 10:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Greg Troxel Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 01 May 2020 14:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39999 X-GNU-PR-Package: guile X-Debbugs-Original-To: wlharvey4--- via "Bug reports for GUILE\, GNU's Ubiquitous Extension Language" X-Debbugs-Original-Cc: 39999@debbugs.gnu.org Original-Received: via spool by 39999-submit@debbugs.gnu.org id=B39999.15883438665218 (code B ref 39999); Fri, 01 May 2020 14:38:01 +0000 Original-Received: (at 39999) by debbugs.gnu.org; 1 May 2020 14:37:46 +0000 Original-Received: from localhost ([127.0.0.1]:50372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUWnR-0001M6-Vp for submit@debbugs.gnu.org; Fri, 01 May 2020 10:37:46 -0400 Original-Received: from s1.lexort.com ([71.19.148.97]:65385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUWnQ-0001Ly-R6 for 39999@debbugs.gnu.org; Fri, 01 May 2020 10:37:45 -0400 Original-Received: by s1.lexort.com (Postfix, from userid 10853) id 952C14107D2; Fri, 1 May 2020 10:37:43 -0400 (EDT) OpenPGP: id=098ED60E In-Reply-To: <0E291356-1D5D-4F19-9809-43F7A2B35643@mac.com> (wlharvey's message of "Wed, 29 Apr 2020 17:37:13 -0700") 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:9743 Archived-At: wlharvey4--- via "Bug reports for GUILE, GNU's Ubiquitous Extension Language" writes: > 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. If that is at all reasonable, then I think it's the best thing to do. FWIW, the saem text about -i being a FreeBSD extension appears in the NetBSD man page.