Hi to all,
I am trying to put several lines into one line, this is the source file:
object-group network s_1.1.1.1
description R234575095
network-object host 1.1.1.1
object-group network s_2.2.2.2
network-object host 2.2.2.2
object-group network s_3.3.3.3
description R234560498
network-object host 3.3.3.3
And this this the output that I want:
object-group network s_1.1.1.1 network-object host 1.1.1.1
description R234575095 (this is one line)
object-group network s_2.2.2.2 network-object host 2.2.2.2
The problem is that in several object we don´t have the line "description xxxxx" and for this I have the data in 2 or 3 lines.
Best regards.
Trobiani.
I am trying to put several lines into one line, this is the source file:
object-group network s_1.1.1.1
description R234575095
network-object host 1.1.1.1
object-group network s_2.2.2.2
network-object host 2.2.2.2
object-group network s_3.3.3.3
description R234560498
network-object host 3.3.3.3
And this this the output that I want:
object-group network s_1.1.1.1 network-object host 1.1.1.1
description R234575095 (this is one line)
object-group network s_2.2.2.2 network-object host 2.2.2.2
The problem is that in several object we don´t have the line "description xxxxx" and for this I have the data in 2 or 3 lines.
Best regards.
Trobiani.