<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Perl on 不靠谱颜论</title>
    <link>https://yanlinlin.cn/tags/perl/</link>
    <description>颜林林博士的个人主页 - 生物信息学专家、精准医疗研究者、AI/LLM应用探索者。20多年编程经验，专注高通量组学数据分析、临床肿瘤基因检测、大模型在生物信息学领域的应用。分享技术探索、学术思考、生活感悟，记录那些“不靠谱”却有趣的发现。</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-CN</language>
    <managingEditor>linlin.yan@bioinfo.app (颜林林)</managingEditor>
    <webMaster>linlin.yan@bioinfo.app (颜林林)</webMaster>
    <lastBuildDate>Fri, 18 Feb 2022 23:48:00 +0800</lastBuildDate>
    <atom:link href="https://yanlinlin.cn/tags/perl/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>如何用Linux命令删除空行 | 技巧</title>
      <link>https://yanlinlin.cn/2022/02/18/how-to-remove-empty-lines-with-linux-commands-tips/</link>
      <pubDate>Fri, 18 Feb 2022 23:48:00 +0800</pubDate>
      <guid>https://yanlinlin.cn/2022/02/18/how-to-remove-empty-lines-with-linux-commands-tips/</guid>
      <description>删空行的八种写法及逐条解释：sed 的 /^$/d、grep 的点号与 -v、tr -s 合并换行、awk 的 NF 和 $1、perl 的 -ne 与改掉 $/。末尾留了个思考题：把连续空行压成一行该怎么做。</description>
      
      <category>公众号</category>
      
      
      
      <category>技巧</category>
      
      <category>Linux</category>
      
      <category>sed</category>
      
      <category>awk</category>
      
      <category>perl</category>
      
      
    </item>
    
    <item>
      <title>Perl Taint Mode</title>
      <link>https://yanlinlin.cn/2020/03/16/perl-taint-mode/</link>
      <pubDate>Mon, 16 Mar 2020 11:38:12 +0800</pubDate>
      <guid>https://yanlinlin.cn/2020/03/16/perl-taint-mode/</guid>
      <description>把脚本释伴改成 env -S 写法时碰见被推荐的 -T，才回头补 Perl 污染模式这一课：外部输入的数据不准直接拿去写盘或执行命令，反引号里的 hostname 当场被拦下。</description>
      
      
      
      <category>perl</category>
      
      <category>taint</category>
      
      
    </item>
    
    <item>
      <title>使用Perl实现部分字符替换</title>
      <link>https://yanlinlin.cn/2019/12/16/using-perl-to-replace-partial-characters/</link>
      <pubDate>Mon, 16 Dec 2019 20:09:51 +0800</pubDate>
      <guid>https://yanlinlin.cn/2019/12/16/using-perl-to-replace-partial-characters/</guid>
      <description>FASTA 序列要把偶数行两端的“-”换成“?”，中间的留着。awk 的 gsub 一概替换不管用，只好用 Perl 在 s///e 里跑代码块，按捕获长度生成等长问号；还顺手处理了 Windows 的 CRLF 行尾。</description>
      
      
      
      <category>perl</category>
      
      <category>正则表达式</category>
      
      <category>字符替换</category>
      
      
    </item>
    
  </channel>
</rss>
