⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fold.test

📁 linux下各种patch的管理工具
💻 TEST
字号:
	$ rm -rf d	$ mkdir -p d/patches	$ cd d	$ cat > patches/series	< patch1.diff		$ cat > patches/patch1.diff	< --- q.orig/file1.txt	< +++ q/file1.txt	< @@ -0,0 +1 @@	< +This is file1.txt.	< --- q.orig/file2.txt	< +++ q/file2.txt	< @@ -0,0 +1 @@	< +This is file2.txt.	$ quilt push -q	> Applying patch %{P}patch1.diff	> Now at patch %{P}patch1.diff	$ quilt files	> file1.txt	> file2.txt	$ quilt fold -q	< --- q.orig/file2.txt	< +++ q/file2.txt	< @@ -1 +0,0 @@	< -This is file2.txt.	< --- q.orig/dir/file3.txt  	< +++ q/dir/file3.txt	< @@ -0,0 +1 @@	< +This is file3.txt.	$ quilt diff	> Index: d/file1.txt	> ===================================================================	> --- /dev/null	> +++ d/file1.txt	> @@ -0,0 +1 @@	> +This is file1.txt.	> Index: d/dir/file3.txt	> ===================================================================	> --- /dev/null	> +++ d/dir/file3.txt	> @@ -0,0 +1 @@	> +This is file3.txt.	$ cd dir	$ quilt fold -q	< --- dir.orig/file3.txt  	< +++ dir/file3.txt	< @@ -1 +1 @@	< -This is file3.txt.	< +This is file3.txt, now modified.	$ cd ..	$ quilt diff	> Index: d/file1.txt	> ===================================================================	> --- /dev/null	> +++ d/file1.txt	> @@ -0,0 +1 @@	> +This is file1.txt.	> Index: d/dir/file3.txt	> ===================================================================	> --- /dev/null	> +++ d/dir/file3.txt	> @@ -0,0 +1 @@	> +This is file3.txt, now modified.	$ cd ..	$ rm -rf d

⌨️ 快捷键说明

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