[Solved] make this perl script work on window [closed]
[ad_1] Reimplement grep in Perl, and then use system to call your new grep command: # create a new perl script called “grep” in current directory # put this near the beginning of your script open GREP, “>grep”; print GREP <<‘EOF’; #! perl $regex = $ARGV[0]; while (<STDIN>) { print if $_ =~ $regex; } … Read more