Bye Bye Moore

PoCソルジャーな零細事業主が作業メモを残すブログ

2015-10-11から1日間の記事一覧

AWKで置換後のバックアップファイルを残しておきたい場合、「inplace」ライブラリが使える。 

awk

awk組み込みのinplaceは置換後のバックアップファイルを取るときに非常に便利です。 公式では、 The inplace extension emulates GNU sed’s -i option, which performs “in-place” editing of each input file. It uses the bundled inplace.awk include fil…