| | | |
Offset 143, 24 lines modified | Offset 143, 24 lines modified |
143 | <p>To·enable·these·features,·enable·the·<code·class="docutils·literal·notranslate"><span·class="pre">shell</span></code>·option.··With·this·option,·the | 143 | <p>To·enable·these·features,·enable·the·<code·class="docutils·literal·notranslate"><span·class="pre">shell</span></code>·option.··With·this·option,·the |
144 | command·is·literally·passed·to·the·system·shell:</p> | 144 | command·is·literally·passed·to·the·system·shell:</p> |
145 | <div·class="highlight-rest·notranslate"><div·class="highlight"><pre><span></span><span·class="p">..</span>·<span·class="ow">command-output</span><span·class="p">::</span>·echo·"$USER" | 145 | <div·class="highlight-rest·notranslate"><div·class="highlight"><pre><span></span><span·class="p">..</span>·<span·class="ow">command-output</span><span·class="p">::</span>·echo·"$USER" |
146 | ···<span·class="nc">:shell:</span> | 146 | ···<span·class="nc">:shell:</span> |
147 | </pre></div> | 147 | </pre></div> |
148 | </div> | 148 | </div> |
149 | <div·class="highlight-text·notranslate"><div·class="highlight"><pre><span></span>$·echo·"$USER" | 149 | <div·class="highlight-text·notranslate"><div·class="highlight"><pre><span></span>$·echo·"$USER" |
150 | pbuilder1 | 150 | pbuilder2 |
151 | </pre></div> | 151 | </pre></div> |
152 | </div> | 152 | </div> |
153 | <p>Other·shell·features·like·process·expansion·consequently·work,·too:</p> | 153 | <p>Other·shell·features·like·process·expansion·consequently·work,·too:</p> |
154 | <div·class="highlight-rest·notranslate"><div·class="highlight"><pre><span></span><span·class="p">..</span>·<span·class="ow">command-output</span><span·class="p">::</span>·ls·-l·$(which·grep) | 154 | <div·class="highlight-rest·notranslate"><div·class="highlight"><pre><span></span><span·class="p">..</span>·<span·class="ow">command-output</span><span·class="p">::</span>·ls·-l·$(which·grep) |
155 | ···<span·class="nc">:shell:</span> | 155 | ···<span·class="nc">:shell:</span> |
156 | </pre></div> | 156 | </pre></div> |
157 | </div> | 157 | </div> |
158 | <div·class="highlight-text·notranslate"><div·class="highlight"><pre><span></span>$·ls·-l·$(which·grep) | 158 | <div·class="highlight-text·notranslate"><div·class="highlight"><pre><span></span>$·ls·-l·$(which·grep) |
159 | -rwxr-xr-x·1·root·root·203072·Jan·24··2023·/bin/grep | 159 | -rwxr-xr-x·1·root·root·203072·Jan·25··2023·/bin/grep |
160 | </pre></div> | 160 | </pre></div> |
161 | </div> | 161 | </div> |
162 | <p>Remember·to·use·<code·class="docutils·literal·notranslate"><span·class="pre">shell</span></code>·carefully·to·avoid·unintented·interpretation·of·shell | 162 | <p>Remember·to·use·<code·class="docutils·literal·notranslate"><span·class="pre">shell</span></code>·carefully·to·avoid·unintented·interpretation·of·shell |
163 | syntax·and·swallowing·of·fatal·errors!</p> | 163 | syntax·and·swallowing·of·fatal·errors!</p> |
164 | </div> | 164 | </div> |
165 | <div·class="section"·id="error-handling"> | 165 | <div·class="section"·id="error-handling"> |
166 | <h3>Error·handling<a·class="headerlink"·href="#error-handling"·title="Permalink·to·this·headline">¶</a></h3> | 166 | <h3>Error·handling<a·class="headerlink"·href="#error-handling"·title="Permalink·to·this·headline">¶</a></h3> |