|
No grep -A possible under Solaris ?
All,
On linux I can type grep -A 2 -B 3 patern file.
This means that the result will show 2 lines AFTER (A) and 3 lines BEFORE (B) the pattern in the file.
On Solaris, those options do not exist.
1. Any idea how I can simulate those options on Solaris ?
2. How can I put the linux-ping under Solaris ?
Tnx in advance.
|