<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[如何给交互式命令行传参]]></title><description><![CDATA[<h1>方法</h1>
<pre><code>echo -e '\npopulations.fixed.phylip\nI\nY\n' | dnadist
</code></pre>
<p dir="auto">tips:</p>
<pre><code>echo "hello\n world"
并没有出现换行的效果

查找后发现，默认禁止了反斜线的功能，需要加上参数”-e"
echo -e "hello\n world"
</code></pre>
]]></description><link>http://an.forum.genostack.com/topic/249/如何给交互式命令行传参</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 12:35:04 GMT</lastBuildDate><atom:link href="http://an.forum.genostack.com/topic/249.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 16 Mar 2021 10:22:53 GMT</pubDate><ttl>60</ttl></channel></rss>