Hello
I have posted my code below
Here I retrieves the Max line
mal = $ (grep-n '0000aaaa '$ (i). Tsim.log | sed "s, \:; \ g" | gawk' (print $ 1) '| sed' $! D ')
Here I retrieves the Min line
Code:
mil = $ (grep-n 'Tsim> mem' $ (i). Tsim.log | sed "s, \:; \ g")
Then I would delete the entire line that is not in this interval but I do not find a way with sed.
Code:
sed '15, 41 "d '$ (i). tsim.log>> $ () BIN_ROM / Plan.txt
Amassing replace my 15 and 41 by my Maxline and Minlin variables if possible. All this his is in a loop.
Bookmarks