使用 echo 写一个文件

只需指定文件目的地, echo 将创建,写入或附加到文件。

<echo file=example.txt" append="false">
    hello world
</echo>