Grep statement

Hi All,

Please can somebody advise that if I want to search a pattern xyz the grep command should only select xyz and not any other pattern containing xyz (ex abxyzcd)

Regards

grep -w

man grep