From MAILER-DAEMON Fri Mar 01 13:05:23 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gzmXD-0003Da-NR for mharc-bug-ed@gnu.org; Fri, 01 Mar 2019 13:05:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzmXB-0003DU-TN for bug-ed@gnu.org; Fri, 01 Mar 2019 13:05:22 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53234) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzmX4-0000rs-Io for bug-ed@gnu.org; Fri, 01 Mar 2019 13:05:18 -0500 Received: from 245.red-88-16-10.dynamicip.rima-tde.net ([88.16.10.245]:32937 helo=[192.168.1.2]) by fencepost.gnu.org with esmtpa (Exim 4.82) (envelope-from ) id 1gzmX2-0000EF-Kl for bug-ed@gnu.org; Fri, 01 Mar 2019 13:05:14 -0500 Message-ID: <5C797484.7000907@gnu.org> Date: Fri, 01 Mar 2019 19:05:56 +0100 From: Antonio Diaz Diaz User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 MIME-Version: 1.0 To: bug-ed@gnu.org References: <3E5FF83A-6B00-4C0E-B93F-F1FC52331661@wibben.de> In-Reply-To: <3E5FF83A-6B00-4C0E-B93F-F1FC52331661@wibben.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] Subject: Re: [Bug-ed] Different behavior GNU ed and oed X-BeenThere: bug-ed@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "GNU ed bug reports, suggestions, general discussion." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2019 18:05:22 -0000 Hi Bjoern, Bjoern Wibben wrote: > :g/test/s/^/#/g > infinite substitution loop Thanks for reporting this. GNU ed has always behaved like this for non-empty replacements of empty matches, but it could be more clever and notice that /^/ can only match once in a line and ignore the 'g' suffix. I'll fix this as soon as possible. Best regards, Antonio. From MAILER-DAEMON Tue Mar 05 10:50:31 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1h1CKt-0006oC-Er for mharc-bug-ed@gnu.org; Tue, 05 Mar 2019 10:50:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1CKr-0006kP-F5 for bug-ed@gnu.org; Tue, 05 Mar 2019 10:50:30 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51681) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1CKl-0005Ox-Sp for bug-ed@gnu.org; Tue, 05 Mar 2019 10:50:25 -0500 Received: from 245.red-88-16-10.dynamicip.rima-tde.net ([88.16.10.245]:34123 helo=[192.168.1.2]) by fencepost.gnu.org with esmtpa (Exim 4.82) (envelope-from ) id 1h1CKl-0001oB-0Z for bug-ed@gnu.org; Tue, 05 Mar 2019 10:50:23 -0500 Message-ID: <5C7E9AE9.5060201@gnu.org> Date: Tue, 05 Mar 2019 16:51:05 +0100 From: Antonio Diaz Diaz User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 MIME-Version: 1.0 To: bug-ed@gnu.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] Subject: [Bug-ed] GNU ed 1.16-pre1 released X-BeenThere: bug-ed@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "GNU ed bug reports, suggestions, general discussion." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Mar 2019 15:50:30 -0000 GNU ed 1.16-pre1 is ready for testing here http://download.savannah.gnu.org/releases/ed/ed-1.16-pre1.tar.lz The sha256sum is: f8b7d77b0dd30c2623226584ac332afd3057c3b0c614b279fc2857b26630d9b5 ed-1.16-pre1.tar.lz Please, test it and report any bugs you find. GNU ed is an 8-bit clean, more or less POSIX-compliant implementation of the standard Unix line editor. The homepage is at http://www.gnu.org/software/ed/ed.html Changes in this version: * The substitute command no longer complains about an 'Infinite substitution loop' with a substitution like 's/^/#/g'. (Reported by Bjoern Wibben). * It has been documented in the manual that extended regular expression operators may be unavailable depending on the particular regex implementation in the system running ed. (Reported by Brian Zwahr). Regards, Antonio Diaz, GNU ed maintainer. Self-determination is a right, not a crime. Free Catalan political prisoners. -- If you care about long-term archiving, please help me replace xz with lzip. See http://www.nongnu.org/lzip/lzip_benchmark.html#xz1 http://www.nongnu.org/lzip/manual/lzip_manual.html#Quality-assurance and http://www.nongnu.org/lzip/xz_inadequate.html Thanks. From MAILER-DAEMON Wed Mar 27 08:50:21 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1h980b-00076e-Da for mharc-bug-ed@gnu.org; Wed, 27 Mar 2019 08:50:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h92BV-0006AK-SD for bug-ed@gnu.org; Wed, 27 Mar 2019 02:37:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h92BU-0002LA-Mz for bug-ed@gnu.org; Wed, 27 Mar 2019 02:37:13 -0400 Received: from forward400o.mail.yandex.net ([2a02:6b8:0:1a2d::605]:52716) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h92BU-0002Hs-2O for bug-ed@gnu.org; Wed, 27 Mar 2019 02:37:12 -0400 Received: from mxback15g.mail.yandex.net (mxback15g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:94]) by forward400o.mail.yandex.net (Yandex) with ESMTP id C8B5B14C1006 for ; Wed, 27 Mar 2019 09:37:07 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback15g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id KnGRwRb7wt-b740huWw; Wed, 27 Mar 2019 09:37:07 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1553668627; bh=saWq04WXItko2dYIZz+QfJhceVUeTSffWlDPFo4eLJk=; h=Date:Message-Id:To:Subject:From; b=CZgoE+YXKSjeVSlnV7b6tEKdE/vF87zS096NMb0ByMF3p/hQCYTjjulfVf61ukIZu nVaJcV3YWUEAEammNjEO+5fcx5xZBYuub1ASrXFgMJB2jYe/nrqAKSr5HTHKNXtFPT p12jhFxmMRaYjsCbxF0IwwDOOeUT+bx0IaKWPbcQ= Authentication-Results: mxback15g.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by myt1-bc8ef50fb490.qloud-c.yandex.net with HTTP; Wed, 27 Mar 2019 09:37:07 +0300 From: Nich ola Envelope-From: nicholaev5789@yandex.ru To: bug-ed@gnu.org MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Wed, 27 Mar 2019 13:37:07 +0700 Message-Id: <11541581553668627@myt1-bc8ef50fb490.qloud-c.yandex.net> Content-Transfer-Encoding: 7bit Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a02:6b8:0:1a2d::605 X-Mailman-Approved-At: Wed, 27 Mar 2019 08:50:19 -0400 Subject: [Bug-ed] Improve doc X-BeenThere: bug-ed@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "GNU ed bug reports, suggestions, general discussion." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Mar 2019 06:37:15 -0000 Some things, that must be improved in documentation (files "ed.1" and "ed.info"): - add year of "ed" creation; expected text: "ed was created at ... year, at ... machine, at ... place, at ... company, for ..."; - describe meaning of word "ed"; "editor"? - commands structure is not correct; may be correct structure is "[WHITESPACE] [ADDRESS [WHITESPACE] [ [WHITESPACE] , [WHITESPACE] ADDRESS [WHITESPACE] ]* ] [WHITESPACE] COMMAND [WHITESPACE] [PARAMETERS] [WHITESPACE] [SUFFIX]"? - describe, that prompt string "ed" will use, if run without "--prompt" option; "*"? expected text: "default prompt is ..."; - what is meaning ot phrase "prompt toggle"? switch between default value "*" and value from "--prompt" option? - what is verbose mode? expected text: "if verbose mode enabled, 'ed' will ..."; - can not understood meaning of following sentence: "In a semicolon-delimited range, the current address ('.') is set to the first address before the second address is calculated. This feature can be used to set the starting line for searches."; need examples; - what is "lower case letter from the portable character set"? is letters from "a" to "z"? - difference between "[.COL-ELM.]" and "[=COL-ELM=]"? list of valid values for "COL-ELM"? - text: "expression 'a+' is shorthand for 'aa*'"; need replace "'a+'" on "'a\+'"? - how many addresses each command need? add number of addresses in description of each command; - in descriptions of commands "e" and "q" warnings does not mentioned; - inside "COMMAND-LIST" each command must be on separate line? - can not understood meaning of following sentence: "'u' is its own inverse"; can undo only last command? - "g" from "global"; "v" from ? - add word "help" in description of command "h"; - in description of command "z": "scroll N lines ..."; you mean "print" instead of "scroll"? - describe, how commands "s", "j", "d", "c" use cut buffer? - can not understood meaning of following sentence: "'ed' processes FILE arguments for backslash escapes, i.e., in a filename, any character preceded by a backslash ('\') is interpreted literally."; describe in details, what processing was done? - how to run "ed" in "text" mode? how to run "ed" in "binary" mode? - can not understood meaning of following sentence: "Per line overhead: 2 'pointer's, 1 'long int', and 1 'int'"; - unicode support missing? "ed --version" print "GNU Ed 1.10 ...". Link to debian package: "http://archive.ubuntu.com/ubuntu/ubuntu/pool/main/e/ed/ed_1.10-2.1_amd64.deb".