#unix #tilde #home #shell

tilde-expand

perform shell-style tilde expansion of home directories in paths

1 unstable release

Uses old Rust 2015

0.1.1 Apr 19, 2016
0.1.0 Feb 21, 2016

#675 in Unix APIs

Download history 49/week @ 2023-10-17 45/week @ 2023-10-24 51/week @ 2023-10-31 37/week @ 2023-11-07 54/week @ 2023-11-14 39/week @ 2023-11-21 40/week @ 2023-11-28 38/week @ 2023-12-05 39/week @ 2023-12-12 35/week @ 2023-12-19 32/week @ 2023-12-26 35/week @ 2024-01-02 47/week @ 2024-01-09 38/week @ 2024-01-16 29/week @ 2024-01-23 27/week @ 2024-01-30

149 downloads per month
Used in 4 crates

WTFPL license

3KB
60 lines

/// perform tilde-expansion, replacing an initial ~ or ~username with that username's home directory as determined by getpwnam fn tilde_expand(s: &[u8]) -> Vec { ... }

Released under the WTFPL.

Dependencies

~42KB