<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://scarcs.ca/lib/exe/css.php?s=feed" type="text/css"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#">
    <title>Sun Coast Amateur &lt;br&gt;Radio Club Society - blog:2026-05-01</title>
    <tagline></tagline>
    <link rel="alternate" type="text/html" href="https://scarcs.ca/"/>
    <id>https://scarcs.ca/</id>
    <modified>2026-05-02T04:33:05+00:00</modified>
    <generator>FeedCreator 1.8</generator>
    <entry>
        <title>quick_offline_ham_search</title>
        <link rel="alternate" type="text/html" href="https://scarcs.ca/blog/2026-05-01/quick_offline_ham_search"/>
        <created>2026-05-02T03:51:32+00:00</created>
        <issued>2026-05-02T03:51:32+00:00</issued>
        <modified>2026-05-02T03:51:32+00:00</modified>
        <id>https://scarcs.ca/blog/2026-05-01/quick_offline_ham_search</id>
        <author>
            <name>Anonymous</name>
        </author>
        <summary>


&lt;h1 class=&quot;sectionedit1&quot; id=&quot;quick_offline_ham_search&quot;&gt;Quick Offline Ham Search&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
On my linux computer, I keep a &lt;code&gt;csv&lt;/code&gt; file of the &lt;abbr title=&quot;Innovation, Science and Economic Development&quot;&gt;ISED&lt;/abbr&gt; ham database for when I need to quickly look up someone.  Here are a few tricks to make the process really quick.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Quick Offline Ham Search&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;quick_offline_ham_search&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;11-220&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;setup&quot;&gt;Setup&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Instead of using my browser to download the file from &lt;abbr title=&quot;Innovation, Science and Economic Development&quot;&gt;ISED&lt;/abbr&gt; (&lt;a href=&quot;http://apc-cap.ic.gc.ca/datafiles/amateur_delim.zip&quot; class=&quot;urlextern&quot; title=&quot;http://apc-cap.ic.gc.ca/datafiles/amateur_delim.zip&quot; rel=&quot;ugc nofollow&quot;&gt;http://apc-cap.ic.gc.ca/datafiles/amateur_delim.zip&lt;/a&gt;), I run this script, which:
&lt;/p&gt;
&lt;ol&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;
 Downloads the &lt;code&gt;zip&lt;/code&gt; file to my &lt;code&gt;~/Ham&lt;/code&gt; folder
&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;
 Renames the file I want to &lt;code&gt;csv&lt;/code&gt;
&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;
 Deletes all the files I don&amp;#039;t want
&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://scarcs.ca/_export/code/blog/2026-05-01/quick_offline_ham_search?codeblock=0&quot; title=&quot;Download Snippet&quot; class=&quot;mediafile mf_sh&quot;&gt;ised.sh&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;#!/bin/bash&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;re2&quot;&gt;DIR&lt;/span&gt;=&lt;span class=&quot;re1&quot;&gt;$HOME&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;/Ham&amp;quot;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Downloading Amateur Archive from ISED website:&amp;quot;&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;wget&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--report-speed&lt;/span&gt;=bits http:&lt;span class=&quot;sy0&quot;&gt;//&lt;/span&gt;apc-cap.ic.gc.ca&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;datafiles&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;amateur_delim.zip &lt;span class=&quot;re5&quot;&gt;-P&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;$DIR&lt;/span&gt; 
&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Unzipping archive:&amp;quot;&lt;/span&gt;
&lt;span class=&quot;kw3&quot;&gt;cd&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;$DIR&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;unzip&lt;/span&gt; amateur_delim.zip
&amp;nbsp;
&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Renaming amateur_delim.txt to amateur_delim.csv&amp;quot;&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;mv&lt;/span&gt; amateur_delim.txt amateur_delim.csv
&lt;span class=&quot;kw2&quot;&gt;chmod&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;644&lt;/span&gt; amateur_delim.csv
&amp;nbsp;
&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Deleting amateur_delim.zip, lisezmoi_amat_delim.txt, and readme_amat_delim.txt&amp;quot;&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;rm&lt;/span&gt; amateur_delim.zip lisezmoi_amat_delim.txt readme_amat_delim.txt
&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt;
&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Done.  Note that the customer separator is:   ;&amp;quot;&lt;/span&gt;
&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt;&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;

&lt;p&gt;
To look up the file, I added this line to my &lt;code&gt;alias&lt;/code&gt;:
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;alias&lt;/span&gt; &lt;span class=&quot;re2&quot;&gt;hamsearch&lt;/span&gt;=&lt;span class=&quot;st_h&quot;&gt;'cat /home/ptruchon/Ham/amateur_delim.csv |grep -i '&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Setup&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;setup&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;221-1270&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;usage&quot;&gt;Usage&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
To update my local file, I only have to type this into the terminal:
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;ised.sh&lt;/pre&gt;

&lt;p&gt;
To look up something, I only have to type this into the terminal
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;hamsearch &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;Search Term&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;/pre&gt;

&lt;/div&gt;

&lt;h3 id=&quot;examples&quot;&gt;Examples&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
You can search for a callsign:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;hamsearch ve7aaa

VE7AAA;Arthur Ellwood;Abrahamson;760 OXFORD PLACE;CAMPBELL RIVER;BC;V9W7Y7;A;;C;D;;;;;;;&lt;/pre&gt;

&lt;p&gt;
Or search for any strings in that file. Use &lt;kbd class=&quot;__keyboard&quot;&gt;&amp;#039;&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;&amp;#039;&lt;/kbd&gt; if there&amp;#039;s more than one word.
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;hamsearch &amp;#039;vancouver general&amp;#039;

VA7LGH;Ernest;Mix;436 CARDIFF WAY;PORT MOODY;BC;V3H3T1;A;B;;D;;Vancouver Coastal Health Amateur Radio Group;c/o VCH Emergency Management - Vancouver General Hospital;855 West 12th Avenue, JPPS1, Room 1769;VANCOUVER;BC;V5Z1M9
VA7PRH;Ernest;Mix;436 CARDIFF WAY;PORT MOODY;BC;V3H3T1;A;B;;D;;Vancouver Coastal Health Amateur Radio Group;c/o VCH Emergency Management - Vancouver General Hospital;855 West 12th Avenue, JPPS1, Room 1769;VANCOUVER;BC;V5Z1M9
VA7RHS;Ernest;Mix;436 CARDIFF WAY;PORT MOODY;BC;V3H3T1;A;B;;D;;Vancouver Coastal Health Amateur Radio Group;c/o VCH Emergency Management - Vancouver General Hospital;855 West 12th Avenue, JPPS1, Room 1769;VANCOUVER;BC;V5Z1M9
VA7SGH;Ernest;Mix;436 CARDIFF WAY;PORT MOODY;BC;V3H3T1;A;B;;D;;Vancouver Coastal Health Amateur Radio Group;c/o VCH Emergency Management - Vancouver General Hospital;855 West 12th Avenue, JPPS1, Room 1769;VANCOUVER;BC;V5Z1M9
VA7SMH;Ernest;Mix;436 CARDIFF WAY;PORT MOODY;BC;V3H3T1;A;B;;D;;Vancouver Coastal Health Amateur Radio Group;c/o VCH Emergency Management - Vancouver General Hospital;855 West 12th Avenue, JPPS1, Room 1769;VANCOUVER;BC;V5Z1M9
VA7VCH;Ernest;Mix;436 CARDIFF WAY;PORT MOODY;BC;V3H3T1;A;B;;D;;Vancouver Coastal Health Amateur Radio Group;c/o VCH Emergency Management - Vancouver General Hospital;855 West 12th Avenue, JPPS1, Room 1769;VANCOUVER;BC;V5Z1M9
VA7VCS;Ernest;Mix;436 CARDIFF WAY;PORT MOODY;BC;V3H3T1;A;B;;D;;Vancouver Coastal Health Amateur Radio Group;c/o VCH Emergency Management - Vancouver General Hospital;855 West 12th Avenue, JPPS1, Room 1769;VANCOUVER;BC;V5Z1M9
VA7VGH;Ernest;Mix;436 CARDIFF WAY;PORT MOODY;BC;V3H3T1;A;B;;D;;Vancouver Coastal Health Amateur Radio Group;c/o VCH Emergency Management - Vancouver General Hospital;855 West 12th Avenue, JPPS1, Room 1769;VANCOUVER;BC;V5Z1M9&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Usage&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;usage&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:2,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;1271-&amp;quot;} --&gt;</summary>
    </entry>
</feed>
