<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Shell - 标签 - 秦大炮的博客</title><link>https://qindapao.com/tags/shell/</link><description>专注技术分享与算法演示的个人独立博客。我是 ASCII 艺术家，擅长运用 ASCII 艺术来直观展示系统架构与核心算法。</description><generator>Hugo 0.163.2 &amp; FixIt v0.4.5</generator><language>zh-cn</language><managingEditor>northisland2017@gmail.com (秦大炮)</managingEditor><webMaster>northisland2017@gmail.com (秦大炮)</webMaster><lastBuildDate>Thu, 18 Jun 2026 12:00:00 +0800</lastBuildDate><atom:link href="https://qindapao.com/tags/shell/index.xml" rel="self" type="application/rss+xml"/><item><title>shell中的原生字符串处理方法</title><link>https://qindapao.com/posts/software/shell/shell_string/</link><pubDate>Thu, 18 Jun 2026 12:00:00 +0800</pubDate><author>northisland2017@gmail.com (秦大炮)</author><guid>https://qindapao.com/posts/software/shell/shell_string/</guid><category domain="https://qindapao.com/categories/%E8%BD%AF%E4%BB%B6%E6%8A%80%E6%9C%AF/">软件技术</category><description>&lt;h2 class="heading-element" id="前言"&gt;&lt;span&gt;前言&lt;/span&gt;
 &lt;a href="#%e5%89%8d%e8%a8%80" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;Linux Shell（Bash）提供了强大的原生字符串处理能力，主要依赖内置的参数扩展（Parameter Expansion）语法，无需调用 awk、sed 等外部工具，由于在bash的内部执行，不需要fork外部程序，执行效率高。&lt;/p&gt;</description></item></channel></rss>