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

📄 chmdeco-popups.sh

📁 CHM decompiler is a program that converts the internal files of CHM files back into the HHP, HHC, an
💻 SH
字号:
#!/bin/sh# Decompilechmdeco $1# Enter the directorycd $1{	# Print the section name	/bin/echo -en \\n[TEXT\ POPUPS]\\n;	# Find text files with the required strings in them	find -iname \*.txt | xargs grep -l '^[[:space:]]*\.topic[[:space:]]\+[_a-zA-Z0-9]\+'# Remove the ./, Convert / to \, Convert \n to \r\n and Append to the hhp.} | sed -e 's/[.]\///g' | tr / '\\' | gawk 'BEGIN { ORS = "\r\n" } { print }' >> `find \#recreated -iname \*.hhp`

⌨️ 快捷键说明

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