<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Kleine Frage zur Linux-Shell]]></title><description><![CDATA[<p>Hi,</p>
<p>ich hab ne kleine Frage zur Linux-Shell. Ich möchte gerne per Shell-Eingabe die obersten 4 Zeilen einer Text-Datei löschen.</p>
<p>Derzeit versuch ich es so:</p>
<pre><code>sed -i -e &quot;1d&quot; test.txt
sed -i -e &quot;1d&quot; test.txt
sed -i -e &quot;1d&quot; test.txt
sed -i -e &quot;1d&quot; test.txt
</code></pre>
<p>Natürlich gefällt mir diese Wiederholung nicht, daher meine Frage: gibt es eine möglichkeit das zu &quot;trimmen&quot;?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/222330/kleine-frage-zur-linux-shell</link><generator>RSS for Node</generator><lastBuildDate>Tue, 07 Apr 2026 20:41:20 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/222330.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 10 Sep 2008 20:33:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Kleine Frage zur Linux-Shell on Wed, 10 Sep 2008 20:33:40 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>ich hab ne kleine Frage zur Linux-Shell. Ich möchte gerne per Shell-Eingabe die obersten 4 Zeilen einer Text-Datei löschen.</p>
<p>Derzeit versuch ich es so:</p>
<pre><code>sed -i -e &quot;1d&quot; test.txt
sed -i -e &quot;1d&quot; test.txt
sed -i -e &quot;1d&quot; test.txt
sed -i -e &quot;1d&quot; test.txt
</code></pre>
<p>Natürlich gefällt mir diese Wiederholung nicht, daher meine Frage: gibt es eine möglichkeit das zu &quot;trimmen&quot;?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1579976</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1579976</guid><dc:creator><![CDATA[Linux User]]></dc:creator><pubDate>Wed, 10 Sep 2008 20:33:40 GMT</pubDate></item><item><title><![CDATA[Reply to Kleine Frage zur Linux-Shell on Wed, 10 Sep 2008 20:35:07 GMT]]></title><description><![CDATA[<p>Mach ne Schleife.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1579979</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1579979</guid><dc:creator><![CDATA[klan]]></dc:creator><pubDate>Wed, 10 Sep 2008 20:35:07 GMT</pubDate></item></channel></rss>