I found shpdump as a very good tool to extract all vertex from an ESRI polyline shapefile, but I need a single triplet (X,Y,Z) file (ie. shpdump provides all coordinates by parts). Is there a similar command-line tool that can do this? I found some python solutions, but I need something like...