<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: pottmi</title><link>https://news.ycombinator.com/user?id=pottmi</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sun, 03 May 2026 03:04:59 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=pottmi" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by pottmi in "Advanced Shell Scripting with Bash (2006) [pdf]"]]></title><description><![CDATA[
<p>I switched to zsh so I have not been paying attention to bash so I don't have a top three things to add.  I just add things as I stumble on them.<p>Thanks for the tip on reference variables.  definitely better than eval.  i will add that to the presentation.<p>I will look into using set -u and what I can do with that and add it to the presentation.  Perhaps make a companion presentation on debugging bash.<p>Another good presentation would be on how to use bash safely with sudo.  I have a sudo presentation that is pretty good for it is for sudo 1.7 and the current version is 1.9 so I would need to update it before giving it.<p>I have not used associative arrays in bash.  I would probably tend to use python if i needed that capability so I am not likely to use aa in bash soon.<p>Regarding nesting levels of self modifying variables: Yeah, I tried to do it once and failed and did not try to figure out any tricks to get it to work.  I just moved to multiline which is easier to debug and comment on for the poor bastard that has to fix my code.</p>
]]></description><pubDate>Sat, 19 Apr 2025 15:17:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=43736984</link><dc:creator>pottmi</dc:creator><comments>https://news.ycombinator.com/item?id=43736984</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43736984</guid></item><item><title><![CDATA[New comment by pottmi in "Advanced Shell Scripting with Bash (2006) [pdf]"]]></title><description><![CDATA[
<p>It is what I advise people that want to make a presentation to give to their local LUG.  Do the presentation on something "evergreen" that will last a long time.   File permission, regular expression, /proc file system, ...  Dig into the details and anytime you are surprised by something make a new slide.  Also make "Cookbook" slides.  pretty soon you have 30 slides and it is enough for a full presentation.</p>
]]></description><pubDate>Sat, 19 Apr 2025 14:46:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=43736767</link><dc:creator>pottmi</dc:creator><comments>https://news.ycombinator.com/item?id=43736767</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43736767</guid></item><item><title><![CDATA[New comment by pottmi in "Advanced Shell Scripting with Bash (2006) [pdf]"]]></title><description><![CDATA[
<p>Yeah, despite having created that presentation and having given it 50 times if I were to do another IBM JCL to shell conversion I would convert to zsh.</p>
]]></description><pubDate>Sat, 19 Apr 2025 14:41:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=43736734</link><dc:creator>pottmi</dc:creator><comments>https://news.ycombinator.com/item?id=43736734</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43736734</guid></item><item><title><![CDATA[New comment by pottmi in "Advanced Shell Scripting with Bash (2006) [pdf]"]]></title><description><![CDATA[
<p>You will like the final version of the traperr ERR function.  It looks to create a "stack trace" type dump of where you are in the script when it fails.<p>See it here: <a href="https://github.com/pottmi/stringent.sh">https://github.com/pottmi/stringent.sh</a></p>
]]></description><pubDate>Thu, 17 Apr 2025 17:15:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=43719693</link><dc:creator>pottmi</dc:creator><comments>https://news.ycombinator.com/item?id=43719693</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43719693</guid></item><item><title><![CDATA[New comment by pottmi in "Advanced Shell Scripting with Bash (2006) [pdf]"]]></title><description><![CDATA[
<p>Here is a https link to the presentation and the stringent.sh library:<p><a href="https://github.com/pottmi/stringent.sh">https://github.com/pottmi/stringent.sh</a></p>
]]></description><pubDate>Thu, 17 Apr 2025 17:13:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=43719671</link><dc:creator>pottmi</dc:creator><comments>https://news.ycombinator.com/item?id=43719671</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43719671</guid></item><item><title><![CDATA[New comment by pottmi in "Advanced Shell Scripting with Bash (2006) [pdf]"]]></title><description><![CDATA[
<p>It is not how to code in bash, it is how to avoid the bash pitfalls.</p>
]]></description><pubDate>Thu, 17 Apr 2025 17:05:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=43719571</link><dc:creator>pottmi</dc:creator><comments>https://news.ycombinator.com/item?id=43719571</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43719571</guid></item><item><title><![CDATA[New comment by pottmi in "Advanced Shell Scripting with Bash (2006) [pdf]"]]></title><description><![CDATA[
<p>I contacted the guys that run the site and asked them to add https.<p>I will throw the pdf on my gitlab account that has the stringent.sh script.<p><a href="https://github.com/pottmi/stringent.sh">https://github.com/pottmi/stringent.sh</a></p>
]]></description><pubDate>Thu, 17 Apr 2025 17:04:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=43719561</link><dc:creator>pottmi</dc:creator><comments>https://news.ycombinator.com/item?id=43719561</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43719561</guid></item><item><title><![CDATA[New comment by pottmi in "Advanced Shell Scripting with Bash (2006) [pdf]"]]></title><description><![CDATA[
<p>It was done in keynote on a mac in 2006.  I still maintain the 2025 version in keynote on a mac.</p>
]]></description><pubDate>Thu, 17 Apr 2025 15:33:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=43718364</link><dc:creator>pottmi</dc:creator><comments>https://news.ycombinator.com/item?id=43718364</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43718364</guid></item><item><title><![CDATA[New comment by pottmi in "Advanced Shell Scripting with Bash (2006) [pdf]"]]></title><description><![CDATA[
<p>Are you bashing bash?</p>
]]></description><pubDate>Thu, 17 Apr 2025 15:31:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=43718328</link><dc:creator>pottmi</dc:creator><comments>https://news.ycombinator.com/item?id=43718328</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43718328</guid></item><item><title><![CDATA[New comment by pottmi in "Advanced Shell Scripting with Bash (2006) [pdf]"]]></title><description><![CDATA[
<p>I am the author of this presentation. Feel free to ask me questions and send me corrections to the pdf and youtube video.<p>Here is are the slides:
<a href="http://uniforumchicago.org/slides/bash_2025-03-25.pdf" rel="nofollow">http://uniforumchicago.org/slides/bash_2025-03-25.pdf</a><p>Here is the recording of the video:
<a href="https://www.youtube.com/watch?v=DvDu8_A2uhs" rel="nofollow">https://www.youtube.com/watch?v=DvDu8_A2uhs</a><p>Here is the stringent.sh library that is shown in the presentation:
<a href="https://github.com/pottmi/stringent.sh">https://github.com/pottmi/stringent.sh</a></p>
]]></description><pubDate>Thu, 17 Apr 2025 15:28:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=43718279</link><dc:creator>pottmi</dc:creator><comments>https://news.ycombinator.com/item?id=43718279</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43718279</guid></item></channel></rss>