Transforming a CSV Line to many lines based on comma

By mantikore

Here is the command to transform a line like:
<>
a,b,c,d,e

Command cat cdr_wap.log | tr “,” “n” | cat -n

It will be looks like:
1 a
2 b
3 c
4 d
5 e

Cheers.

Tags: , ,

Leave a Reply