I have a file of the following form (with '-' serving as delimiters), and I want to find the appearance of a number only when it follows a delimiter. I suppose it's a concatenation of grep '-\n' and $number, but I can't find the way to do it right. thanks..
1400 2 132 342 - 76567 1 1234 - 87 2 1400 54 -