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

shvar

shvar provides a POSIX-compliant shell variable substitution routine

5 releases (breaking)

0.5.0 Sep 9, 2024
0.4.0 Sep 5, 2024
0.3.0 Aug 24, 2024
0.2.0 Aug 19, 2024
0.1.0 Aug 19, 2024

#1217 in Rust patterns

Download history 213/week @ 2024-08-14 217/week @ 2024-08-21 21/week @ 2024-08-28 244/week @ 2024-09-04 68/week @ 2024-09-11

588 downloads per month
Used in 4 crates

Apache-2.0

35KB
930 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