Revision history for perlx-bash
0.04_03 2020-02-07 16:09:57-08:00 America/Los_Angeles (TRIAL RELEASE)
[Distro Fixes]
* Fix CPAN Testers failure (in unit tests) for older versions of Perl.
* Maybe-fix CPAN Testers failure for testing `{varname[n]}>` syntax.
* Add diagnostic info for what version of bash we're dealing with.
(based on Andreas Koenig (ANDK)'s suggestion for Date::Easy)
0.04_02 2020-02-06 21:31:35-08:00 America/Los_Angeles (TRIAL RELEASE)
[Bug Fixes]
* `head` and `tail` no longer go out-of-bounds of their input lists.
* `bash \string =>` now autochomps, as expected.
* Lines sent to filter mode subs are now pre-chomped, as expected.
[New Features]
* `bash -c` now works like the POD says it did all along.
* Likewise, autoquoting now works like the POD says it did all along.
* Also, `shq` now exists and is exported.
[Doc Fixes]
* Added POD for all functions.
(thx Pod::Coverage tests)
* Added POD for filter modes.
* Update: no longer considered experimental!
0.04_01 2020-01-18 03:17:10-08:00 America/Los_Angeles (TRIAL RELEASE)
[Distro Fixes]
* Make `-x` testing work when Lmod is present.
github #3 (thx Slaven Rezić (SREZIC))
0.04 2020-01-09 19:08:54-08:00 America/Los_Angeles
[New Features]
* Can now "pipe" `bash` output through a Perl sub.
* Passed in qr// args are quoted just like filenames.
[Bug Fixes]
* Combining capture and `-e` now works as expected.
* Now get useful error message if you don't pass `bash` any args.
* Ditto if you pass `bash` only capture and/or switch args.
* Ditto if you pass `bash` any args which are not defined.
(And no extra warning if it's the _first_ arg which is undef.)
[Doc Fixes]
* Now there is some.
[Distro Fixes]
* Fix CPAN Testers failure for older versions of List::Util.
0.03 2018-03-06 02:35:42-08:00 America/Los_Angeles
[New Features]
* Add `head` and `tail` functions.
[Distro Fixes]
* Fix unit test bug where $TMPDIR inside a symlink causes bogus failure.
0.02 2017-12-12 03:03:15-08:00 America/Los_Angeles
[Distro Fixes]
* Force locale to 'C' when unit testing error messages.
github #2 (thx Andreas Koenig (ANDK))
* Skip most unit tests when there's no `bash` present.
(This should solve CPAN Testers failures on MSWin systems.)
0.01 2017-12-03 05:12:40-08:00 America/Los_Angeles
* initial version
* Basic features implemented:
* Spawns proper `bash` (not just calling `system`)
* Basic context-dependent return value (bool, int)
* Handles basic switches (-e, -x)
* Basic capture modes (string, words, lines)
* Autoquotes filename objects