Skip to content

v0.5.0

Latest

Choose a tag to compare

@legionus legionus released this 05 Jan 16:46
v0.5.0

What's Changed

  • 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.

New Contributors

Full Changelog: v0.4.13...v0.5.0