work> cat testdata | sed 's/|/,/g' > testdata01 위와 같이 하면 testdata내에 있던 '|'문자는 모두 ','로 대체되어 testdata01로 만들어집니다.