[make-initrd] Release libshell 0.5.0
Alexey Gladkov
legion at kernel.org
Mon Jan 5 19:55:18 MSK 2026
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
More information about the Make-initrd
mailing list