文字の変換と出力の保存2 / 3

行末の置換

sedのs/txt$/old/では、$が行末への一致を表す。txt.memo.txtはtxt.memo.oldとなり、途中のtxtは変わらない。

学習パスへ
参考資料