From b98804b81127c45581e6f2e55181f64ada704847 Mon Sep 17 00:00:00 2001 From: Xingyu Wang Date: Sat, 18 Nov 2023 07:20:30 +0800 Subject: [PATCH] R --- ...Writing useful terminal TUI on Linux with dialog and jq.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/published/20231115 Writing useful terminal TUI on Linux with dialog and jq.md b/published/20231115 Writing useful terminal TUI on Linux with dialog and jq.md index af00a30e71..4cf5ab3be6 100644 --- a/published/20231115 Writing useful terminal TUI on Linux with dialog and jq.md +++ b/published/20231115 Writing useful terminal TUI on Linux with dialog and jq.md @@ -33,7 +33,7 @@ function remote_machine() { remote_pass=(/bin/cat/.mypassfile) remote_machine $remote_machine $remote_pass ``` -_这太烦了_ 更糟糕的是,我的密码被明文存储在我的电脑上(我虽然使用了加密驱动器,但这点依然令人不安)。 +这太烦了,更糟糕的是,我的密码被明文存储在我的电脑上(我虽然使用了加密驱动器,但这点依然令人不安)。 因此,我决定投入一些时间,编写一个实用的脚本,从而更好地满足我的基本需求。 @@ -238,7 +238,7 @@ esac 上述的小例子只涵盖了一些部件的使用,其实还有更多的文档在 [官方 dialog 网站][8]上。 -#### Dialog 和 JQ 是最好的选择吗? +### Dialog 和 JQ 是最好的选择吗? 实现这个功能可以有很多方法(如 [Textual][13],Gnome 的 [Zenity][14],Python 的 [TKinker][15]等)。我只是想向你展示一种高效的方式——仅用 100 行代码就完成了这项任务。