Use `shellwords` for `.stowrc` parsing
commitd760f96dea0e760a821e620202e82d8facc6ca05
authorJeremy Nguyen <nguyen.jeremyt@gmail.com>
Fri, 14 Jun 2024 23:20:41 +0000 (14 16:20 -0700)
committerAdam Spiers <stow@adamspiers.org>
Sat, 15 Jun 2024 12:01:53 +0000 (15 13:01 +0100)
tree52b4e94bd25121521cb960e78ee2211ffce63ab3
parent2544889dc660de6d2118f2e027abffe4f69507cb
Use `shellwords` for `.stowrc` parsing

- Use `shellwords` to parse `.stowrc` files from `Text::ParseWords`
- Add test for `.stowrc` parsing with quotes
  - Add `stow directory` to `tmp-testing-trees` for testing

This change allows `.stowrc` arguments to be parsed similar to shell arguments,
where quotes can be used to group an argument with spaces.

However, this change affects the behavior in --ignore, --defer, --override.

(?^:$HOME\z)
(?^:\A$HOME)
(?^:\A$HOME)
bin/stow.in
doc/stow.texi
t/rc_options.t
t/testutil.pm