Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要递归扫描项目中的所有文件夹以查找 xgettext 字符串。如何在 Linux 上使用 xgettext 来做到这一点?
我当前的参数是:--default-domain=project -k_
find . -iname "*.php" | xargs xgettext --from-code=UTF-8 --default-domain=project
这应该可以解决问题。