From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1767632122; bh=JnlhYiOy7w970YVpb5GWsZwZYYIhT0L8iM8V5zS5UUg=; h=Date:From:To:Subject:From; b=GVFwv+FpgoPaRj4S23KshvyW8s1WufelWjdmKUuU2NyWwPR0afpnAIFzLpYoKF3zc OrNCQ655HNnYfBj+Hm0Vkm02NZSBhUzj6lU3g7db+++MiRip4rHHqC67yXQHpzvj+0 J6XCoY/qemMHGlNbwwwhpn9wlhKOfc/dFsrdq2vSu4wQrhSJeoEW4K2RYajaO2780G 0a7NiHoLD0gTgqKz0fEgJwY8AozvLGG6ei6azxOcn6BioUPvdA9Q2hWAOd9KDRM5Ge sGc/jpFuvnCjhluA7wS3ej32AWVPiWcz2qmx5VT8PS4XTa+Qc75H26V+TOJcDr2h5l 1KwgtaFXnsGPA== Date: Mon, 5 Jan 2026 17:55:18 +0100 From: Alexey Gladkov To: make-initrd@lists.altlinux.org Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [make-initrd] Release libshell 0.5.0 X-BeenThere: make-initrd@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: make-initrd@lists.altlinux.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2026 16:55:27 -0000 Archived-At: List-Archive: New release 0.5.0 is available. I'm posting the announcement about the release of libshell here because make-initrd and libshell are closely related. # Important changes - shell-ip-address: + Added ipv6_addr_type. This function interprets the given option value as an IPv6 address similarly to inet_pton(3). + Added ipv4_ptonx, ipv6_ptonx. These functions takes a string representation of an IP address and prints out its raw, network byte order representation as a sequence of hexadecimal octets. + Added ipv6_ip_matches. This function takes two arguments, an IPv6 address and a prefix with length, and checks that this address is in this prefix. - shell-string: + Added special optimization for character-by-character iteration over a string. The optimization only works on some shell implementations (bash, ksh). - shell-quote: + Added quote_grep_regexp, quote_grep_regexp_variable. These functions are necessary for correct quoting of regular expressions for GNU grep 3.11 or higher. - shell-bitwise: + Added functions to operate with bits. This is a set of functions for manipulating individual bits in a number. # Git repository https://github.com/legionus/libshell/releases/tag/v0.5.0 As always, feedback and bug reports are welcome. -- Rgrds, legion