hello,
the input is:
how to get each from ^abc and from def^ till empty line (if in the last one the are no empty line then till end of file)
and finally get:
thank you in advance.
the input is:
Code:
ccccccccc
vvvvvvvvvvvv
bbbbbbbbbbb
abc fgg
sssssssssssssss
ssssssssssssssss
ssssssssssssssss
dddddddd
ffffffffff
ddddddddddddddd
def g
dddddddddd
ddddddddddddddd
ddddddddddddd
vvvvvvvv
abc h h
eeeeeeeeeeee
eeeeeeeeeeeee
eeeeeeeee
fffffffffff
gggggggggg
abc jh h
ffffffffffffffff
fffffffffffff
fffffffffff
[EOF]
how to get each from ^abc and from def^ till empty line (if in the last one the are no empty line then till end of file)
and finally get:
Code:
abc fgg
sssssssssssssss
ssssssssssssssss
ssssssssssssssss
def g
dddddddddd
ddddddddddddddd
ddddddddddddd
abc h h
eeeeeeeeeeee
eeeeeeeeeeeee
eeeeeeeee
abc jh h
ffffffffffffffff
fffffffffffff
fffffffffff
thank you in advance.