Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在修改后的内核文件和原始内核文件之间的 .diff 文件中更改部分。我使用 diff -b -r -w dir1 dir2 它在命令行上提供它,但我想在单独的 diff 扩展文件中获取它。
diff -b -r -w dir1 dir2 >> your_file_name.patch
将保存您的结果。