[Solved] Print every 3 strings who are start from special symbols
[ad_1] Use this: grep -A 1 -B 1 ‘Server sent’ file.txt | sed ‘/^–$/d’ (OR) grep -C 1 ‘Server sent’ file.txt | sed ‘/^–$/d’ 0 [ad_2] solved Print every 3 strings who are start from special symbols