<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>踩坑 on My_blog</title><link>https://dsduyopg-github-io.pages.dev/tags/%E8%B8%A9%E5%9D%91/</link><description>Recent content in 踩坑 on My_blog</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Wed, 25 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://dsduyopg-github-io.pages.dev/tags/%E8%B8%A9%E5%9D%91/index.xml" rel="self" type="application/rss+xml"/><item><title>在 shell 里嵌 expect，脚本一跑就闪退——一次踩坑复盘</title><link>https://dsduyopg-github-io.pages.dev/%E4%B8%93%E6%A0%8F/ai%E6%95%B4%E7%90%86%E7%9A%84%E6%96%87%E4%BB%B6%E4%BB%A5%E5%8F%8A%E8%AE%B0%E5%BD%95/expect-nested-flash-exit/</link><pubDate>Wed, 25 Nov 2026 00:00:00 +0000</pubDate><guid>https://dsduyopg-github-io.pages.dev/%E4%B8%93%E6%A0%8F/ai%E6%95%B4%E7%90%86%E7%9A%84%E6%96%87%E4%BB%B6%E4%BB%A5%E5%8F%8A%E8%AE%B0%E5%BD%95/expect-nested-flash-exit/</guid><description>把 expect 用定界符塞进 bash 脚本，切用户时脚本一闪就退回原提示符。问题不在 expect，在标准输入和伪终端，拆成两个文件才治本。</description></item><item><title>tar 打包笔记：选项区、-C 与 find 配合的实测坑</title><link>https://dsduyopg-github-io.pages.dev/%E4%B8%93%E6%A0%8F/ai%E6%95%B4%E7%90%86%E7%9A%84%E6%96%87%E4%BB%B6%E4%BB%A5%E5%8F%8A%E8%AE%B0%E5%BD%95/tar-packaging-notes/</link><pubDate>Tue, 17 Nov 2026 00:00:00 +0000</pubDate><guid>https://dsduyopg-github-io.pages.dev/%E4%B8%93%E6%A0%8F/ai%E6%95%B4%E7%90%86%E7%9A%84%E6%96%87%E4%BB%B6%E4%BB%A5%E5%8F%8A%E8%AE%B0%E5%BD%95/tar-packaging-notes/</guid><description>tar 只有两段参数，-C 是内置的 cd，`.` 与 `*` 差别巨大。用实测输出把空归档、隐藏文件、管道喂成员、退出码这些坑逐个拆开。</description></item></channel></rss>