Karls-Mac-mini:Desktop karl$ grep -C1 4003 MyData.txt 4002_1#2 4003_1#3 4004_1#4