#variables #shell #substitution #expansion #routine #posix-compliant

shvar

shvar provides a POSIX-compliant shell variable substitution routine

6 releases (breaking)

0.6.0 Dec 14, 2024
0.5.0 Sep 9, 2024
0.4.0 Sep 5, 2024
0.3.0 Aug 24, 2024
0.1.0 Aug 19, 2024

#1403 in Rust patterns

Download history 127/week @ 2024-09-07 46/week @ 2024-09-14 13/week @ 2024-09-21 47/week @ 2024-09-28 13/week @ 2024-10-05 8/week @ 2024-10-12 1/week @ 2024-10-19 1/week @ 2024-10-26 5/week @ 2024-11-02 3/week @ 2024-11-09 6/week @ 2024-11-16 7/week @ 2024-11-23 32/week @ 2024-11-30 30/week @ 2024-12-07 177/week @ 2024-12-14 16/week @ 2024-12-21

256 downloads per month
Used in 7 crates (6 directly)

Apache-2.0

35KB
933 lines

shvar

shvar is the SHell VARiable expansion library.

Status

Maintenance track. The library is considered stable and will be put into maintenance mode if unchanged for one year.

Scope

This library provides the quote, split, expand, and rcvar functions.

Warts

  • A string with '{' and '}' characters outside the variable declarations won't parse right now.

Documentation

The latest documentation is always available at docs.rs.

No runtime deps