http://qs321.pair.com?node_id=11101417


in reply to Re^4: Sort alphabetically from file
in thread Sort alphabetically from file

I just tried to install them and cannot get past installation errors of DB_File. It needs BerkeleyDB header files apparently and have not had time to look into getting any of it installed. would be cool, but with WSL/bash incorporated in win10 already, i dont really see a need for it unless some programs work that WSL does not yet support.

EDIT: got them installed on windows. seems to work for the most part (grep, ls, diff) will need to test them further. I had to force install after trying for hours to install DB::File unsuccessfully. Kept getting undefined reference errors about db_version and db_create and tried to track it down but could not unfortunately.

Replies are listed 'Best First'.
Re^6: Sort alphabetically from file
by swl (Vicar) on Jun 16, 2019 at 06:14 UTC

    I should have been clearer. I only use msys2 etc to access unix utilities like grep, find, sort etc. For perl related work I use Strawberry perl.

    I do have an old win bash at the end of my path for the tar utility when packaging for cpan, but could probably use the msys2 or git paths instead.

      I went through and tested alot of the utilities and the majority of them actually work on windows. those (for me atleast) that require DB_File do not work on windows however. The Perl Power Tools are written in pure Perl so all i had to do was force install then add the output path to my env var. You can also specify a path for them to install to, but the default directory is just fine imho.