文件操作 - triv.txt
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/go-1.23/src/internal/diff/testdata/triv.txt
编辑文件内容
Another example from Hunt and McIlroy, “An Algorithm for Differential File Comparison.” https://www.cs.dartmouth.edu/~doug/diff.pdf Anchored diff gives up on finding anything, since there are no unique lines. -- old -- a b c a b b a -- new -- c a b a b c -- diff -- diff old new --- old +++ new @@ -1,7 +1,6 @@ -a -b -c -a -b -b -a +c +a +b +a +b +c
修改文件时间
将文件时间修改为当前时间的前一年
删除文件