sed

스크립트 방식으로 텍스트 편집. 같이 보기: awk, ed. 더 많은 정보: https://keith.github.io/xcode-man-pages/sed.1.html.

{{명령어}} | sed 's/apple/mango/g'

{{명령어}} | sed -f {{경로/대상/스크립트_파일.sed}}

{{명령어}} | sed -E 's/(apple)/\U\1/g'

{{명령어}} | sed -n '1p'

sed -i bak 's/apple/mango/g' {{경로/대상/파일}}