remove-potcdate.sin

来自「fdisk 实现源码,可以查询Linux下系统的分区信息」· SIN 代码 · 共 20 行

SIN
20
字号
# Sed script that remove the POT-Creation-Date line in the header entry# from a POT file.## The distinction between the first and the following occurrences of the# pattern is achieved by looking at the hold space./^"POT-Creation-Date: .*"$/{x# Test if the hold space is empty.s/P/P/ta# Yes it was empty. First occurrence. Remove the line.gdbb:a# The hold space was nonempty. Following occurrences. Do nothing.x:b}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?