xenolith
ISP
- Mar 4, 2002
- 51
I have an input file that looks like:
User-Name = username1
Calling-Station-Id = 8653456422
Called-Station-Id = 3545841658
--
User-Name = username2
Calling-Station-Id = 3653523479
Called-Station-Id = 8514751473
--
I need to turn it into:
username1,8653456422,3545841658
username2,3653523479,8514751473
Not sure if AWK is my best bet for this or not? Any help is appreciated
User-Name = username1
Calling-Station-Id = 8653456422
Called-Station-Id = 3545841658
--
User-Name = username2
Calling-Station-Id = 3653523479
Called-Station-Id = 8514751473
--
I need to turn it into:
username1,8653456422,3545841658
username2,3653523479,8514751473
Not sure if AWK is my best bet for this or not? Any help is appreciated