-
-
Save mcandre/5467825 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
perl /c/Chocolatey/lib/ack.1.96.2/content/ack.pl $* |
I believe, but have not verified that "$@"
is supported in cygwin, which should return the correct space behaviour.
http://stackoverflow.com/questions/3008695/what-the-difference-between-and-in-bash
it worked for me
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This doesn't work for a few reasons.
Cygwin uses /cygdrive/c for the path, and this would fail on usage such as:
$ ack a\ space\ in\ a\ string
ack.pl: space: No such file or directory
ack.pl: in: No such file or directory
ack.pl: a: No such file or directory
ack.pl: string: No such file or directory