perl -i.bak -e '{open F,">>$ARGV[0]";print F "Hello\n" }' regexcl.txt在某文件末尾插入一行文字perl -e 'print "hello"' >> world.txt