Concept Flow - grep (search text patterns)
Start grep command
Read input text line
Check if line matches pattern?
No→Skip line
Yes
Print matching line
More lines?
Yes→Read next line
No
End
grep reads each line of input, checks if it matches the pattern, prints it if yes, and repeats until all lines are processed.