From: Alexey Gladkov <legion@kernel.org>
To: make-initrd@lists.altlinux.org
Subject: [make-initrd] Release libshell 0.5.0
Date: Mon, 5 Jan 2026 17:55:18 +0100
Message-ID: <aVvs9tF0CsRt-1b2@example.org> (raw)
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
reply other threads:[~2026-01-05 16:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aVvs9tF0CsRt-1b2@example.org \
--to=legion@kernel.org \
--cc=make-initrd@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Make-initrd development discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/make-initrd/0 make-initrd/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 make-initrd make-initrd/ http://lore.altlinux.org/make-initrd \
make-initrd@lists.altlinux.org make-initrd@lists.altlinux.ru make-initrd@lists.altlinux.com
public-inbox-index make-initrd
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.make-initrd
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git