Hi all,
Hope everyone is doing fine. I need a help in creating search script. I have file which contains job names and job recs. I need to select specific job name and next line which is job rec
job (BLREEXTT) {
Record B${cycle}${month}${year}000075;
follows BLCYRRTCHKT;
HOST BL_HOST ; }
job (BLPIEXTT) {
Record B${cycle}${month}${year}000075;
follows BLPIHNDLT,BLCYRRTCHKT;
HOST BL_HOST ; }
job (BLSRVAGREXTT) {
Record B${cycle}${month}${year}${paralleltitanbl}0075;
follows BLCYRRTT;
HOST BL_HOST ; }
So basicaly file contains many enteries like this. I need to select (in bold ) job which is an easy part and next line. I can grep for job, but how to select line after that. Note that 000075 is changing in the file.