42 network read failed
sv1 sv23 sv4
sv11 sv23 sv5 sv 7
48 client hostname could not be found
sv21 sv78 sv19 sv22
sv111 sv203 sv5 sv 33
49 client did not start
sv1 sv21
54 timed out connecting to client
sv2 sv4 sv12
above is my file , I'd like to use a script to list all name below the line that starts with "48 client hostname.." untill it finds a line starts with a number in the this case 49. it can be any other number
so the output of would be
sv21 sv78 sv19 sv22
sv111 sv203 sv5 sv 33
Thaanks