[R] grep question

Edna Bell edna.bell01 at gmail.com
Tue Jan 20 23:13:31 CET 2009


In grep, you can use the options "n" and "o" to get the line number
and only the matching text.

Is there a way to just get the line number, please?

Thanks,
Edna Bell




More information about the R-help mailing list