PDA

View Full Version : grep



kabs
06-07-2005, 10:56 AM
Hi,

how to use grep, when i want to find a string that looks like an option. For example
grep -S filename and "-S" is the search-string but grep takes it as an option because of the "-".

thx kabs

Markus
06-07-2005, 03:23 PM
grep '\-S' filename