<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Eduardo Bustamante's website</title>
    <description>Eduardo Bustamante's (dualbus) personal website. The topics discussed are: gnu/linux, free software (foss/floss), gnu bash, posix tools like sed, grep and awk, and similar.</description>
    <link>https://dualbus.me/</link>
    <atom:link href="https://dualbus.me/feeds/feed.gnulinux.xml" rel="self" type="application/rss+xml" />
    <pubDate>Sat, 01 Jun 2019 21:41:49 -0700</pubDate>
    <lastBuildDate>Sat, 01 Jun 2019 21:41:49 -0700</lastBuildDate>
    <generator>Jekyll v3.8.5</generator>
    
      <item>
        <title>HTTP load testing with curl</title>
        <description>&lt;p&gt;It’s easy to use the curl command to load test a website. We’ll (ab)use the
&lt;code class=&quot;highlighter-rouge&quot;&gt;-K/--config&lt;/code&gt; option, to pass a configuration file like this:&lt;/p&gt;

&lt;div class=&quot;highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;silent = 1
output = &quot;/dev/null&quot;
write-out = &quot;%{http_code} %{time_total}\n&quot;
url = &quot;http://dualbus.me/{,}{,}{,}{,,,,}{,,,,}{,,,,}&quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The interesting part is the &lt;code class=&quot;highlighter-rouge&quot;&gt;url&lt;/code&gt;. We’re requesting the same URL 1,000 times.
(2x2x2x5x5x5). An easy way to compute that string:&lt;/p&gt;

&lt;div class=&quot;highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;dualbus@hp ~ % factor 1000
1000: 2 2 2 5 5 5
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Now, you can use GNU xargs to do some requests in parallel (assuming you placed
the configuration in &lt;code class=&quot;highlighter-rouge&quot;&gt;config.txt&lt;/code&gt;):&lt;/p&gt;

&lt;div class=&quot;highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;printf '%.0sconfig.txt\n' {1..20} | xargs -P 20 -n 1 curl -K
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Enjoy.&lt;/p&gt;

&lt;h2 id=&quot;updates&quot;&gt;Updates&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Feb 15, 2015: &lt;a href=&quot;http://serverfault.com/a/358464&quot;&gt;This answer&lt;/a&gt; from Ian Purton
shows a different way of doing it (with ranges instead of alternations), so you
can do: &lt;code class=&quot;highlighter-rouge&quot;&gt;curl 'http://domain.name/#[1-100]'&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sun, 15 Feb 2015 00:00:00 -0800</pubDate>
        <link>https://dualbus.me/2015/02/15/http-load-testing-with-curl.html</link>
        <guid isPermaLink="true">https://dualbus.me/2015/02/15/http-load-testing-with-curl.html</guid>
        
        
        <category>curl</category>
        
        <category>gnulinux</category>
        
      </item>
    
      <item>
        <title>List of interesting commands</title>
        <description>&lt;h2 id=&quot;ssh-keys&quot;&gt;SSH Keys&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;rsa keys with openssl&lt;/p&gt;

    &lt;div class=&quot;highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;# Write the public part of a RSA key in OpenSSH format (basically
# just prefix it with 'ssh-rsa' and collapse everything. Also remove
# the ASCII guards.
openssl pkey -in file.pem -pubout | sed -ne :a -e '1d;$!{H;n;ba;}' \
  -e 'x;s/\n//g;s/^/ssh-rsa /p'

# Generate a RSA private SSH key, using OpenSSL's genpkey command
# (4096 bits)
openssl genpkey -out file.pem -outform PEM -algorithm rsa \
  -pkeyopt rsa_keygen_bits:4096
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;bash&quot;&gt;Bash&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;group files by extension with associative arrays&lt;/p&gt;

    &lt;div class=&quot;highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;# Read a list of files with sizes and group them by extension, adding
# the size.
  
declare -A files=();
while read -r size filename; do
  basename=${filename##*/}; ((files[&quot;${basename##*.}&quot;]+=size));
done &amp;lt;&amp;lt;&amp;lt;  $'10 foo/bar/baz.ext\n20 foo/bar/bleh.ext\n40 music/some/song.mp3'
declare -p files
  
Output:
&amp;gt; declare -A files='([mp3]=&quot;40&quot; [ext]=&quot;30&quot; )'
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;git&quot;&gt;Git&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;branches&lt;/p&gt;

    &lt;div class=&quot;highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;# Delete a branch in a remote
git push &amp;lt;remote&amp;gt; :branch_name

# Update a remote, considering also deleted branches
git remote update -p # -p comes from 'prune'
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Tue, 02 Dec 2014 00:00:00 -0800</pubDate>
        <link>https://dualbus.me/2014/12/02/list-of-interesting-commands.html</link>
        <guid isPermaLink="true">https://dualbus.me/2014/12/02/list-of-interesting-commands.html</guid>
        
        
        <category>cli</category>
        
        <category>gnulinux</category>
        
      </item>
    
      <item>
        <title>GNU Bash bugs</title>
        <description>&lt;p&gt;This is a list of the bugs in GNU Bash that I’ve reported:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;http://lists.gnu.org/archive/html/bug-bash/2014-11/msg00097.html&quot;&gt;Improper array name validation for the ‘mapfile’ builtin&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;http://lists.gnu.org/archive/html/bug-bash/2014-11/msg00092.html&quot;&gt;Segmentation fault when running recursive traps&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;http://lists.gnu.org/archive/html/bug-bash/2014-04/msg00051.html&quot;&gt;Issue when using job control and SIGCHLD with bash 4.3 (trap is not being
 run)&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;http://lists.gnu.org/archive/html/bug-bash/2014-03/msg00053.html&quot;&gt;Bash does not follow POSIX when return is called during the action of a trap&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;http://lists.gnu.org/archive/html/bug-bash/2014-03/msg00033.html&quot;&gt;Executing ‘return’ inside RETURN trap causes function to recurse infinitely&lt;/a&gt;&lt;/p&gt;

    &lt;p&gt;&lt;code class=&quot;highlighter-rouge&quot;&gt;f(){ trap return RETURN; }; f&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;http://lists.gnu.org/archive/html/bug-bash/2014-02/msg00091.html&quot;&gt;Parent shell gets stopped when a child shell is created with job control but
 not interactive (bash -mc)&lt;/a&gt;&lt;/p&gt;

    &lt;p&gt;&lt;code class=&quot;highlighter-rouge&quot;&gt;bash -s &amp;lt;&amp;lt;&amp;lt; 'for i in . .; do (bash -mc &quot;: &amp;amp; wait&quot;) ; done'&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;http://lists.gnu.org/archive/html/bug-bash/2014-02/msg00052.html&quot;&gt;Invalid byte sequence under UTF-8 locale generates a segmentation fault when
 using printf %q (ansic_quote)&lt;/a&gt;&lt;/p&gt;

    &lt;div class=&quot;highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;$ cat command-name 
payload=$'\065\247\100\063\231\053\306\123\070\237\242\352\263'
&quot;$payload&quot;
  
$ cat printf-q 
payload=$'\065\247\100\063\231\053\306\123\070\237\242\352\263'
printf %q &quot;$payload&quot;
  
$ cat set-x 
payload=$'\065\247\100\063\231\053\306\123\070\237\242\352\263'
(set -x; : &quot;$payload&quot;)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;http://lists.gnu.org/archive/html/bug-bash/2014-01/msg00091.html&quot;&gt;DEL character treated specially when preceded by a backslash when used in
 the RHS of the regex operator (&lt;code class=&quot;highlighter-rouge&quot;&gt;[[ $'\177' =~ $'\\\177' ]]&lt;/code&gt;)&lt;/a&gt;&lt;/p&gt;

    &lt;div class=&quot;highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;for c in $'\001' $'\a' $'\177' $'\377'; do
    for r in &quot;$c&quot; &quot;\\$c&quot; &quot;\\[$c]&quot;; do
        [[ $c =~ $r ]];
        printf '[[ %q =~ %q ]] -&amp;gt; %d\n' &quot;$c&quot; &quot;$r&quot; &quot;$?&quot;;
    done; printf %s\\n ---;
done;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;http://lists.gnu.org/archive/html/bug-bash/2013-03/msg00099.html&quot;&gt;Unexpected behavior of single quotes when used in the patsub PE&lt;/a&gt;&lt;/p&gt;

    &lt;div class=&quot;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;#!/usr/bin/env bash&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;for &lt;/span&gt;shell &lt;span class=&quot;k&quot;&gt;in &lt;/span&gt;bash mksh ksh zsh&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;do&lt;/span&gt;
&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$shell&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;sh&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;EOF&lt;/span&gt;&lt;span class=&quot;sh&quot;&gt;'
  t() {
    printf '%s  |  %s\n' &quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$1&lt;/span&gt;&lt;span class=&quot;sh&quot;&gt;&quot; &quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$2&lt;/span&gt;&lt;span class=&quot;sh&quot;&gt;&quot;
  }
  v=&quot;'&quot;       # v &amp;lt;- '
  
  printf '===\n%s %s\n---\n' \
    &quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$0&lt;/span&gt;&lt;span class=&quot;sh&quot;&gt;&quot; \
    &quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$BASH_VERSION&lt;/span&gt;&lt;span class=&quot;sh&quot;&gt;&quot;
  
  #--
  t &quot;&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;$'&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\'&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;$'&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\'&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;sh&quot;&gt;&quot;        &quot;'&quot;
  t  &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;$'&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\'&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;$'&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\'&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;sh&quot;&gt;         &quot;'&quot;
  t &quot;&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;$'&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\'&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;/x&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;sh&quot;&gt;&quot;            &quot;x&quot;
  t  &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;$'&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\'&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;/x&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;sh&quot;&gt;             &quot;x&quot;
  t &quot;&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;/x/&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;$'&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\'&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;sh&quot;&gt;&quot;            &quot;'&quot;
  t  &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;/x/&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;$'&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\'&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;sh&quot;&gt;             &quot;'&quot;
  t &quot;&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;/x/&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;$'&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\x&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;5c&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\'&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;sh&quot;&gt;&quot;        &quot;'&quot; #&amp;lt; I would actually expect these to
  t  &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;/x/&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;$'&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\x&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;5c&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\'&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;sh&quot;&gt;         &quot;'&quot; #&amp;lt; be \'
  t &quot;&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;/\&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;'/\'&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;sh&quot;&gt;&quot;              &quot;'&quot;
  t  &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;/\&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;'/\'&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;sh&quot;&gt;               &quot;'&quot;
&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;EOF
&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;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;http://lists.gnu.org/archive/html/bug-bash/2013-01/msg00037.html&quot;&gt;Behaviour of brace expansion is different in devel branch&lt;/a&gt;&lt;/p&gt;

    &lt;p&gt;&lt;code class=&quot;highlighter-rouge&quot;&gt;echo x{,}&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;http://lists.gnu.org/archive/html/bug-bash/2013-01/msg00036.html&quot;&gt;Segmentation fault in arithmetical expression when mixing array
 variables&lt;/a&gt;&lt;/p&gt;

    &lt;div class=&quot;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;#!/bin/bash&lt;/span&gt;
   
 &lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$BASH_VERSION&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;
 &lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;$((&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=(&lt;/span&gt;y[0] &lt;span class=&quot;o&quot;&gt;+&lt;/span&gt; y[1]&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;&amp;amp;&lt;/span&gt; &lt;span class=&quot;m&quot;&gt;0&lt;/span&gt;xff, &lt;span class=&quot;nv&quot;&gt;b&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=(&lt;/span&gt;y[2] &lt;span class=&quot;o&quot;&gt;+&lt;/span&gt; y[3]&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;&amp;amp;&lt;/span&gt; &lt;span class=&quot;m&quot;&gt;0&lt;/span&gt;xff, a &lt;span class=&quot;o&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;no&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;sh&quot;&gt; | b))
   
 # simpler
 ( y=(1 2); (( _ = y[0], _ = 1 )) ) # crash
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;http://lists.gnu.org/archive/html/bug-bash/2012-09/msg00049.html&quot;&gt;%(fmt)T fails with large times in 64-bit linux&lt;/a&gt;&lt;/p&gt;

    &lt;div class=&quot;highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt; for i in {56..63}; do
     printf '%s ' $i;
     bash -c 'printf %\(%s\)T\\n $((2**$1))' _ $i;
 done
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sun, 09 Mar 2014 00:00:00 -0800</pubDate>
        <link>https://dualbus.me/2014/03/09/bugs-reported-to-bug-bash.html</link>
        <guid isPermaLink="true">https://dualbus.me/2014/03/09/bugs-reported-to-bug-bash.html</guid>
        
        
        <category>bash</category>
        
        <category>gnulinux</category>
        
      </item>
    
  </channel>
</rss>
