<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>blog</title>
    <description>Blog is a place that aggregates knowledge from all over internet and my discoveries. Take this knowledge, all of you, and use it.
</description>
    <link>https://blog.mwilczek.net//</link>
    <atom:link href="https://blog.mwilczek.net//feed.xml" rel="self" type="application/rss+xml"/>
    <pubDate>Sun, 13 Sep 2026 19:28:24 +0000</pubDate>
    <lastBuildDate>Sun, 13 Sep 2026 19:28:24 +0000</lastBuildDate>
    <generator>Jekyll v3.10.0</generator>
    
      <item>
        <title>Mind &amp; Heart</title>
        <description>&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;PL 🇵🇱&lt;/code&gt;&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Umysł: genialne narzędzie do przetrwania.&lt;/p&gt;

  &lt;p&gt;Serce: genialny sposób na życie.&lt;/p&gt;

  &lt;p&gt;– &lt;cite&gt;Mirosław Wilczek&lt;/cite&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;EN 🇬🇧&lt;/code&gt;&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Mind: a brilliant tool for survival.&lt;/p&gt;

  &lt;p&gt;Heart: a brilliant way to live.&lt;/p&gt;

  &lt;p&gt;– &lt;cite&gt;Mirosław Wilczek&lt;/cite&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;CZ 🇨🇿&lt;/code&gt;&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Mysl: geniální nástroj k přežití.&lt;/p&gt;

  &lt;p&gt;Srdce: geniální způsob života.&lt;/p&gt;

  &lt;p&gt;– &lt;cite&gt;Mirosław Wilczek&lt;/cite&gt;&lt;/p&gt;
&lt;/blockquote&gt;
</description>
        <pubDate>Sun, 13 Sep 2026 00:00:00 +0000</pubDate>
        <link>https://blog.mwilczek.net//posts/2026/09/13/mind-and-heart/</link>
        <guid isPermaLink="true">https://blog.mwilczek.net//posts/2026/09/13/mind-and-heart/</guid>
        
        <category>quote</category>
        
        <category>heart</category>
        
        <category>mind</category>
        
        
        <category>posts</category>
        
      </item>
    
      <item>
        <title>Energy is incredibly important</title>
        <description>&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;PL 🇵🇱&lt;/code&gt;&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Energia jest szalenie ważna.&lt;/p&gt;

  &lt;p&gt;Deprecjonując jedną z form energii, deprecjonujemy energię w każdej jej formie.&lt;/p&gt;

  &lt;p&gt;Pieniądze to jedna z form energii.&lt;/p&gt;

  &lt;p&gt;– &lt;cite&gt;Mirosław Wilczek&lt;/cite&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;EN 🇬🇧&lt;/code&gt;&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Energy is incredibly important.&lt;/p&gt;

  &lt;p&gt;By devaluing one form of energy, we devalue energy in every form it takes.&lt;/p&gt;

  &lt;p&gt;Money is one form of energy.&lt;/p&gt;

  &lt;p&gt;– &lt;cite&gt;Mirosław Wilczek&lt;/cite&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;CZ 🇨🇿&lt;/code&gt;&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Energie je nesmírně důležitá.&lt;/p&gt;

  &lt;p&gt;Znevažováním jedné formy energie znevažujeme energii ve všech jejích podobách.&lt;/p&gt;

  &lt;p&gt;Peníze jsou jednou z forem energie.&lt;/p&gt;

  &lt;p&gt;– &lt;cite&gt;Mirosław Wilczek&lt;/cite&gt;&lt;/p&gt;
&lt;/blockquote&gt;
</description>
        <pubDate>Sun, 13 Sep 2026 00:00:00 +0000</pubDate>
        <link>https://blog.mwilczek.net//posts/2026/09/13/energy/</link>
        <guid isPermaLink="true">https://blog.mwilczek.net//posts/2026/09/13/energy/</guid>
        
        <category>quote</category>
        
        <category>energy</category>
        
        <category>money</category>
        
        
        <category>posts</category>
        
      </item>
    
      <item>
        <title>GIT inspect ignore rules</title>
        <description>&lt;p&gt;For complex project structure, may happen that multiple ‘.gitignore’ files or complex rules introduces unexpected ignore behaviour.
Fortunately GIT provides methods to detect which rule affects file and can list all currently ignored files (or directories).&lt;/p&gt;

&lt;h2 id=&quot;list-all-currently-ignored-files-and-folders&quot;&gt;List all currently ignored files and folders&lt;/h2&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;git status &lt;span class=&quot;nt&quot;&gt;--ignored&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;check-which-rule-affects-file&quot;&gt;Check which rule affects file&lt;/h2&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;c&quot;&gt;# Check single file&lt;/span&gt;
git check-ignore &lt;span class=&quot;nt&quot;&gt;-v&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;--&lt;/span&gt; path/to/my/file

&lt;span class=&quot;c&quot;&gt;# or inspect all files in given directory&lt;/span&gt;
git check-ignore &lt;span class=&quot;nt&quot;&gt;-v&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;--&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;*&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
</description>
        <pubDate>Wed, 26 Mar 2025 00:00:00 +0000</pubDate>
        <link>https://blog.mwilczek.net//posts/2025/03/26/git-inpsect-ignore-rules/</link>
        <guid isPermaLink="true">https://blog.mwilczek.net//posts/2025/03/26/git-inpsect-ignore-rules/</guid>
        
        <category>git</category>
        
        <category>.gitignore</category>
        
        <category>check-ignore</category>
        
        
        <category>posts</category>
        
      </item>
    
      <item>
        <title>GIT change commit author</title>
        <description>&lt;p&gt;Sometimes, if we forget to correctly configure GIT, default (or misconfigured) author credentials
are saved into one or more commits.&lt;/p&gt;

&lt;p&gt;Sometimes it is not an issue, but for some projects, external repository may disallow pushing.&lt;/p&gt;

&lt;p&gt;Below there are few methods of how to repair commit author.&lt;/p&gt;

&lt;h2 id=&quot;changing-author-of-the-last-commit&quot;&gt;Changing author of the last commit&lt;/h2&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;c&quot;&gt;# Just reset to current default&lt;/span&gt;
git commit &lt;span class=&quot;nt&quot;&gt;--amend&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;--reset-author&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;--no-edit&lt;/span&gt;

&lt;span class=&quot;c&quot;&gt;# Reset to current default, but let me edit commit message&lt;/span&gt;
git commit &lt;span class=&quot;nt&quot;&gt;--amend&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;--reset-author&lt;/span&gt;

&lt;span class=&quot;c&quot;&gt;# Just set to given value&lt;/span&gt;
git commit &lt;span class=&quot;nt&quot;&gt;--amend&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;--author&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;Foo Bar &amp;lt;foo.bar@net.com&amp;gt;&quot;&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;--no-edit&lt;/span&gt;

&lt;span class=&quot;c&quot;&gt;# Set to given value, but let me edit commit message&lt;/span&gt;
git commit &lt;span class=&quot;nt&quot;&gt;--amend&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;--author&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;Foo Bar &amp;lt;foo.bar@net.com&amp;gt;&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;changing-author-of-multiple-commits&quot;&gt;Changing author of multiple commits&lt;/h2&gt;
&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;c&quot;&gt;# Reset last 10 commits to default author&lt;/span&gt;
git rebase &lt;span class=&quot;nt&quot;&gt;-i&lt;/span&gt; HEAD~10 &lt;span class=&quot;nt&quot;&gt;--exec&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;git commit --amend --reset-author --no-edit&quot;&lt;/span&gt;

&lt;span class=&quot;c&quot;&gt;# Reset last 10 commits to given value&lt;/span&gt;
git rebase &lt;span class=&quot;nt&quot;&gt;-i&lt;/span&gt; HEAD~10 &lt;span class=&quot;nt&quot;&gt;--exec&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;git commit --amend --author &apos;Foo Bar &amp;lt;foo.bar@net.com&amp;gt;&apos; --no-edit&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
</description>
        <pubDate>Mon, 25 Nov 2024 00:00:00 +0000</pubDate>
        <link>https://blog.mwilczek.net//posts/2024/11/25/git-change-commit-author/</link>
        <guid isPermaLink="true">https://blog.mwilczek.net//posts/2024/11/25/git-change-commit-author/</guid>
        
        <category>git</category>
        
        <category>history</category>
        
        <category>commit</category>
        
        <category>author</category>
        
        
        <category>posts</category>
        
      </item>
    
      <item>
        <title>BASH Loops</title>
        <description>&lt;p&gt;Bash supports both &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;while&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;for&lt;/code&gt; loop. Each has some variants to help us do our work better!&lt;/p&gt;

&lt;h2 id=&quot;control-statements&quot;&gt;Control statements&lt;/h2&gt;

&lt;p&gt;Besides loop condition, both &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;while&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;for&lt;/code&gt; loop, undesrtands common control commands:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;break&lt;/code&gt; - finish loop execution immediately&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;continue&lt;/code&gt; - jump to next iteration &lt;strong&gt;now&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;while-loop&quot;&gt;While loop&lt;/h2&gt;

&lt;h3 id=&quot;while-loop-with-condition&quot;&gt;While loop with condition&lt;/h3&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nv&quot;&gt;foo&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;1
&lt;span class=&quot;k&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;$x&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-le&lt;/span&gt; 10 &lt;span class=&quot;o&quot;&gt;]&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;do
  &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;Iteration &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;foo&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;
  &lt;span class=&quot;nv&quot;&gt;foo&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;$((&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;$foo&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;m&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;))&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;done&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;dead-while-loop&quot;&gt;Dead while loop&lt;/h3&gt;

&lt;p&gt;Loop without condition is a dead loop&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;while&lt;/span&gt; :
&lt;span class=&quot;k&quot;&gt;do
	&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;I&apos; the DEAD LOOP!&quot;&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;done

&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;Unreachable code&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Unless there is a break in it&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;while&lt;/span&gt; :
&lt;span class=&quot;k&quot;&gt;do
	&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;break
    echo&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;Unreachable code&quot;&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;done

&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;I&apos;m free!&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;for-loop&quot;&gt;For loop&lt;/h2&gt;

&lt;h3 id=&quot;with-explicit-list-of-items&quot;&gt;With explicit list of items&lt;/h3&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;for &lt;/span&gt;i &lt;span class=&quot;k&quot;&gt;in &lt;/span&gt;1 2 3 4 5 6 7 8 9 10
&lt;span class=&quot;k&quot;&gt;do
   &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;Iteration &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;done&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;for-loop-with-range&quot;&gt;For loop with range&lt;/h3&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;for &lt;/span&gt;i &lt;span class=&quot;k&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;{&lt;/span&gt;1..10&lt;span class=&quot;o&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;do
    &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;Iteration &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;done&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;every third element&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;for &lt;/span&gt;i &lt;span class=&quot;k&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;{&lt;/span&gt;1..10..3&lt;span class=&quot;o&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;do
    &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;Iteration &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;done&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;c-style-&quot;&gt;C style! 💃&lt;/h3&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;((&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;1&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt; i&amp;lt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;10&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt; i++ &lt;span class=&quot;o&quot;&gt;))&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;do
   &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;Iteration &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;done&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;dead-loop-again&quot;&gt;Dead loop again!&lt;/h3&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;((&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;))&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;do
	&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;I&apos; the DEAD LOOP!&quot;&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;done

&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;Unreachable code&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;But we can use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;break&lt;/code&gt; just like in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;while&lt;/code&gt; loop&lt;/p&gt;
</description>
        <pubDate>Thu, 22 Feb 2024 00:00:00 +0000</pubDate>
        <link>https://blog.mwilczek.net//posts/2024/02/22/bash-loops/</link>
        <guid isPermaLink="true">https://blog.mwilczek.net//posts/2024/02/22/bash-loops/</guid>
        
        <category>bash</category>
        
        <category>loop</category>
        
        <category>for</category>
        
        <category>while</category>
        
        
        <category>posts</category>
        
      </item>
    
  </channel>
</rss>
