From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] ed: Update to version 1.20 Date: Thu, 01 Feb 2024 09:29:10 +0100 Message-ID: <20240201082913.2610-2-adolf.belka@ipfire.org> In-Reply-To: <20240201082913.2610-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4253230781356781687==" List-Id: --===============4253230781356781687== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable - Update from version 1.19 to 1.20 - Update of rootfile not required - Changelog 1.20 New command-line options '+line', '+/RE', and '+?RE' have been implemented to set the current line to the line number specified or to the first or last = line matching the regular expression 'RE'. (Suggested by Matthew Polk and John Cowan). File names containing control characters 1 to 31 are now rejected unless they are allowed with the command-line option '--unsafe-names'. File names containing control characters 1 to 31 are now printed using octal escape sequences. Ed now rejects file names ending with a slash. Intervening commands that don't set the modified flag no longer make a second 'e' or 'q' command fail with a 'buffer modified' warning. Tilde expansion is now performed on file names supplied to commands; if a fi= le name starts with '~/', the tilde (~) is expanded to the contents of the variable HOME. (Suggested by John Cowan). Ed now warns the first time that a command modifies a buffer loaded from a read-only file. (Suggested by Dan Jacobson). Ed now creates missing intermediate directories when writing to a file. It has been documented that 'e' creates an empty buffer if file does not exi= st. It has been documented that 'f' sets the default filename, whether or not its argument names an existing file. The description of the exit status has been improved in '--help' and in the manual. The variable MAKEINFO has been added to configure and Makefile.in. It has been documented in INSTALL that when choosing a C standard, the POSIX features need to be enabled explicitly: ./configure CFLAGS+=3D'--std=3Dc99 -D_POSIX_C_SOURCE=3D2' Signed-off-by: Adolf Belka --- lfs/ed | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lfs/ed b/lfs/ed index 0a7014fd7..633ec4055 100644 --- a/lfs/ed +++ b/lfs/ed @@ -1,7 +1,7 @@ ############################################################################= ### # = # # IPFire.org - A linux based firewall = # -# Copyright (C) 2007-2023 IPFire Team = # +# Copyright (C) 2007-2024 IPFire Team = # # = # # This program is free software: you can redistribute it and/or modify = # # it under the terms of the GNU General Public License as published by = # @@ -24,7 +24,7 @@ =20 include Config =20 -VER =3D 1.19 +VER =3D 1.20 =20 THISAPP =3D ed-$(VER) DL_FILE =3D $(THISAPP).tar.lz @@ -39,7 +39,7 @@ objects =3D $(DL_FILE) =20 $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) =20 -$(DL_FILE)_BLAKE2 =3D 139305a1d64e96f7eadcb462325918e5eee18de229ec8e1b3fac29= dc9b8ef58ceea4cd7ffdbd3674fd7f421d90bc0c9e3557318eb57830d7cd46e579828fa95d +$(DL_FILE)_BLAKE2 =3D d212c6d5302627145332ec25b989ca2d4a064ce5c0ea45ad1ad6b7= 80ffd72037ff2144b933c52667c52192d6f5acd5766b5c31d4a2b5cf5993813c43e1523af3 =20 install : $(TARGET) =20 @@ -69,7 +69,10 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && ./configure --prefix=3D/usr --exec-prefix=3D"" --disable-n= ls + cd $(DIR_APP) && ./configure \ + --prefix=3D/usr \ + --exec-prefix=3D"" \ + --disable-nls cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install @rm -rf $(DIR_APP) --=20 2.43.0 --===============4253230781356781687==--