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