<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Script to display recommended and latest Jumbo Hotfix Accumulators in Scripts</title>
    <link>https://community.checkpoint.com/t5/Scripts/version-check-Script-to-display-recommended-and-latest-Jumbo/m-p/192406#M1127</link>
    <description>&lt;P&gt;Yup, got it, thanks&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/11376"&gt;@bernhard_m&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers mate.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
    <pubDate>Tue, 12 Sep 2023 12:46:00 GMT</pubDate>
    <dc:creator>the_rock</dc:creator>
    <dc:date>2023-09-12T12:46:00Z</dc:date>
    <item>
      <title>version_check - Script to display recommended and latest Jumbo Hotfix Accumulators</title>
      <link>https://community.checkpoint.com/t5/Scripts/version-check-Script-to-display-recommended-and-latest-Jumbo/m-p/192264#M1123</link>
      <description>&lt;P&gt;This script shows the recommended and latest versions for JHAs&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-09-20 at 12.26.07.png" style="width: 590px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/22514i94ED295D8E4D251F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-09-20 at 12.26.07.png" alt="Screenshot 2023-09-20 at 12.26.07.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;#!/bin/bash

if [ -f /etc/profile.d/CP.sh ]; then 
	CURL="curl_cli -s"
else
	CURL="curl -s"
fi

clear; printf "
# Recommended &amp;amp; Latest Jumbo Hotfix Accumulators per version

Version | Recommended | Latest
--------+-------------+---------
"

for VER in R80.40 R81 R81.10 R81.20; do
	if [ $VER = "R81" ]; then
			VER2="R81.00"
	else
			VER2=$VER
	fi
	TAKE_URL="http://sc1.checkpoint.com/documents/Jumbo_HFA/$VER/$VER2/"


    $CURL "$TAKE_URL/${VER2}_Downloads.htm" |     
        awk '   /&amp;lt;h1&amp;gt;/              { version=substr($1,5) }
                /Take.+Recommended/ { take_r=$2 } 
                /Take.+Latest/      { take_l=$2 }
                END                 { printf( "%-7s | Take %-6s | Take %s\n", version, take_r, take_l?take_l:take_r) }'
done
printf "\n"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 10:36:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/version-check-Script-to-display-recommended-and-latest-Jumbo/m-p/192264#M1123</guid>
      <dc:creator>bernhard_m</dc:creator>
      <dc:date>2023-09-20T10:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Script to display recommended and latest Jumbo Hotfix Accumulators</title>
      <link>https://community.checkpoint.com/t5/Scripts/version-check-Script-to-display-recommended-and-latest-Jumbo/m-p/192364#M1124</link>
      <description>&lt;P&gt;That looks nice, will try it in my lab.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 00:45:50 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/version-check-Script-to-display-recommended-and-latest-Jumbo/m-p/192364#M1124</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2023-09-12T00:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Script to display recommended and latest Jumbo Hotfix Accumulators</title>
      <link>https://community.checkpoint.com/t5/Scripts/version-check-Script-to-display-recommended-and-latest-Jumbo/m-p/192403#M1125</link>
      <description>&lt;P&gt;I think there is an issue with below, let me see why.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;
&lt;P&gt;line 17: curl: command not found&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 12:32:34 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/version-check-Script-to-display-recommended-and-latest-Jumbo/m-p/192403#M1125</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2023-09-12T12:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Script to display recommended and latest Jumbo Hotfix Accumulators</title>
      <link>https://community.checkpoint.com/t5/Scripts/version-check-Script-to-display-recommended-and-latest-Jumbo/m-p/192404#M1126</link>
      <description>&lt;P&gt;If you want to run this script on a Gaia System you have to change CURL variable from &lt;EM&gt;"curl -s"&lt;/EM&gt; to &lt;EM&gt;"curl_cli -s"&lt;/EM&gt;.&lt;BR /&gt;I changed the script to automatically detect which binary to use.&lt;/P&gt;&lt;P&gt;hth, Bernhard&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 13:06:59 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/version-check-Script-to-display-recommended-and-latest-Jumbo/m-p/192404#M1126</guid>
      <dc:creator>bernhard_m</dc:creator>
      <dc:date>2023-09-12T13:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Script to display recommended and latest Jumbo Hotfix Accumulators</title>
      <link>https://community.checkpoint.com/t5/Scripts/version-check-Script-to-display-recommended-and-latest-Jumbo/m-p/192406#M1127</link>
      <description>&lt;P&gt;Yup, got it, thanks&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/11376"&gt;@bernhard_m&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers mate.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 12:46:00 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/version-check-Script-to-display-recommended-and-latest-Jumbo/m-p/192406#M1127</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2023-09-12T12:46:00Z</dc:date>
    </item>
  </channel>
</rss>

