如何在 Linux 上使用命令行将软连字符 UTF-8 字符复制到剪贴板
在 Wayland 上
copy-soft-hyphen-wayland.sh
printf '\u00AD' | wl-copy(需先使用 sudo apt -y install wl-clipboard 安装 wl-clipboard)
在 X.org 上
copy-soft-hyphen-xorg.sh
printf '\u00AD' | xclip -selection clipboard(需先使用 sudo apt -y install xclip 安装 xclip)
Check out similar posts by category:
Linux
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow