#variables #shell #substitution #expansion #routine #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

#1304 in Rust patterns

Download history 414/week @ 2024-08-19 37/week @ 2024-08-26 140/week @ 2024-09-02 115/week @ 2024-09-09 45/week @ 2024-09-16 11/week @ 2024-09-23 45/week @ 2024-09-30 17/week @ 2024-10-07 3/week @ 2024-10-14 2/week @ 2024-10-21

69 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