Hi i want to grep for two different patterns in the same file and diff the results(without needing to store them)
I amnot able to get diff to accept the output of the two greps as arguments.
Any help?
Thanks for your time.

What exactly are those patterns u want to diff?
diff is used to compare files.