Showing posts with label ラインエディタ. Show all posts
Showing posts with label ラインエディタ. Show all posts

Sunday, January 31, 2016

Sed: Replacing Delimiter Characters to Create Comma-Separated Values

Replacing all vertical lines '|' with comma ',':

cat ./lines.txt | sed s/\|/,/g