This is a discussion on case-insensitive "grep"? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Is there any way to grep for a string with total disregard to case? Say, "grep test /tmp/dummy" should ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Jennifer Smith wrote : > Is there any way to grep for a string with total disregard to case? From 'man grep': -i, --ignore-case Ignore case distinctions in both the PATTERN and the input files. -- Thomas O. This area is designed to become quite warm during normal operation. |
| |||
| Thomas Overgaard wrote: > > Jennifer Smith wrote : > >> Is there any way to grep for a string with total disregard to case? > > From 'man grep': > -i, --ignore-case > Ignore case distinctions in both the PATTERN and the input files. Whoops, silly me missed that. Thanks a lot Jenni |
| ||||
| On Mon, 27 Sep 2004 15:03:07 +0000, Jennifer Smith wrote: > Is there any way to grep for a string with total disregard to case? > Say, "grep test /tmp/dummy" should return all occurences of "Test", "test", > TeST" and all other possible variations? > > Thanks > Jen grep -i |