#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

#672 in Unix APIs

Download history 51/week @ 2023-07-20 51/week @ 2023-07-27 31/week @ 2023-08-03 40/week @ 2023-08-10 56/week @ 2023-08-17 37/week @ 2023-08-24 32/week @ 2023-08-31 69/week @ 2023-09-07 39/week @ 2023-09-14 24/week @ 2023-09-21 41/week @ 2023-09-28 45/week @ 2023-10-05 37/week @ 2023-10-12 45/week @ 2023-10-19 47/week @ 2023-10-26 48/week @ 2023-11-02

182 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

~41KB