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


in reply to PerlPowerTools, Windows and ActivePerl

I just use Git for Windows and put it in my path. It has all the *nix utilities native to Windows .exe files you want including Git and GnuPG, ssh, etc without having to install Cygwin. It even has a Perl version but I use Strawberry Perl and it doesn't interfere.

  • Comment on Re: PerlPowerTools, Windows and ActivePerl

Replies are listed 'Best First'.
Re^2: PerlPowerTools, Windows and ActivePerl (updated)
by LanX (Saint) on Aug 23, 2018 at 01:58 UTC
    Thanks, that's a very good idea, which could solve my emacs issues.

    But a pure Perl solution might be interesting too. (like embedded in the debugger for an interactive shell experience)

    update

    unfortunately not that easy

    • using grep fails because option --exclude is missing
    • using diff fails with permission denied problems

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

      Not sure why diff fails for you - works for me; as does grep:

      VinsWorldcom@C:\Users\VinsWorldcom> grep --help | grep exclude --exclude=PATTERN files that match PATTERN will be skipped. --exclude-from=FILE files that match PATTERN in FILE will be s +kipped. VinsWorldcom@C:\Users\VinsWorldcom> grep --exclude grep: option `--exclude' requires an argument Usage: grep [OPTION]... PATTERN [FILE]... Try `grep --help' for more information.
        $ grep --help|grep exclude $

        my GIT version is from 2015, but since I have to migrate to a new box I'll update the version anyway :)

        update

        thanks, installing a fresh version solves the issue! :)

        Cheers Rolf
        (addicted to the Perl Programming Language :)
        Wikisyntax for the Monastery FootballPerl is like chess, only without the dice