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.
ディレクトリ内のすべてのPHPファイルを置き換えるこのコンソールコマンドがあります。次に、xgettext プログラムにフィードします。
sed "s/\/\/_/_/g" *.php | xgettext -o output.pot --language=PHP - --from-code=UTF-8
sed がすべてのサブディレクトリ内のすべての PHP ファイルをトラバースするように変更するにはどうすればよいですか?