When I do the following grep I get results I cannot explain to myself:
host:/usr/local/tomcat > grep '-XX:PermSize=256m' *
RELEASE-NOTES: http://www.apache.org/licenses/LICENSE-2.0
RUNNING.txt: http://www.apache.org/licenses/LICENSE-2.0
Afaik, none of the characters in my regular expression have a special meaning (inside square brackets, -
has one, but there are none). I also put it into single quotes so it shouldn’t be modified by the shell.
- Grep version: grep (GNU grep) 2.5.1
- Tomcat version: 6.0.36 (binary distro)