文件名称:showlinenum:showlinenum.awk - 显示 git diff 的行号
文件大小:239KB
文件格式:ZIP
更新时间:2024-06-20 04:07:41
Shell
节目单号
showlinenum.awk - 显示 git diff 的行号
这个 gawk 脚本改变了 git diff 的输出以在每一行前面加上行号。
用法
git diff [options] | showlinenum.awk [options]
showlinenum 的所有选项都需要一个值,并使用格式option=value指定。
不支持组合差异格式。
输出
差异行输出采用以下格式: [path:]
【文件预览】:
showlinenum-develop
----License_GPLv3.rtf(37KB)
----License_GPLv3.txt(34KB)
----screenshot.png(34KB)
----.gitignore(9B)
----color_line_number.gif(177KB)
----README.md(6KB)
----showlinenum.awk(16KB)
----.gitattributes(13B)