开发者

replace a string in a file with ant that is contained in a gzip file

开发者 https://www.devze.com 2023-02-11 15:32 出处:网络
How do I replace, with ant, a string in a file that is contained in a gzipped file开发者_如何学Go?

How do I replace, with ant, a string in a file that is contained in a gzipped file开发者_如何学Go? Ed


The way you eat an elephant, one bite at at time:

  1. Extract the file from gzip.
  2. Copy file to new location in the process replacing the string (use filterset for this).
  3. Update gzip with the updated file.
0

精彩评论

暂无评论...
验证码 换一张
取 消