awk '!/^[-=]/ && NR!=1{str=str","$1}END{print substr(str,2)}'
ID Value ======== 1 10 -------- 2 20 -------- 3 14 --------
1,2,3
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!