更新说明

This commit is contained in:
Easy
2024-03-27 20:23:16 +08:00
parent c2e3363165
commit 5870fbd0f7
2 changed files with 21 additions and 0 deletions

View File

@@ -1,5 +1,10 @@
# 《一人企业方法论》第二版
## 对第一版的改进
1. 从长文到一本近6万字的小书从有感而发的分享到两年迭代而得的完整方法论
1. 不再局限在独立开发,发展为更为通用的方法论,即使不懂技术的读者也可用于经营副业
![](./src/images/opb-book-cover.jpg)
## 作者信息

16
words.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
# 设置mdbook的源文件目录路径
mdbook_src_dir="src"
# 初始化字符数变量
total_chars=0
# 遍历目录下的所有.md文件并统计字符
for file in $(find "$mdbook_src_dir" -name '*.md'); do
chars=$(wc -m <"$file")
total_chars=$((total_chars + chars))
done
# 输出总字符数
echo "Total characters: $total_chars"