How to find a particular line in a file without using grep?
use awk or sed
But what is the syntax for doing so?
awk '/your regexp/' file
sed -n '/your regexp/p' file
How to find a particular line in a file without using grep?
use awk or sed
But what is the syntax for doing so?
awk '/your regexp/' file
sed -n '/your regexp/p' file