Home grep command not filtering out , ; or '
Reply: 0

grep command not filtering out , ; or '

user281
1#
user281 Published in June 18, 2018, 8:46 pm

This is the command I'm using:

grep '\bth.[aeiouy]*\b' filename.txt

It returns things as expected like the, thee, etc. but it also returns strings like o'th and with;

Any ideas as to why?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.327194 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO