User Tools

Site Tools


blog:2026-05-01:quick_offline_ham_search

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
blog:2026-05-01:quick_offline_ham_search [2026/05/01 20:51] – [Setup] va7fiblog:2026-05-01:quick_offline_ham_search [2026/05/12 06:32] (current) – [Setup] va7fi
Line 6: Line 6:
 Instead of using my browser to download the file from ISED (http://apc-cap.ic.gc.ca/datafiles/amateur_delim.zip), I run this script, which: Instead of using my browser to download the file from ISED (http://apc-cap.ic.gc.ca/datafiles/amateur_delim.zip), I run this script, which:
   - Downloads the ''zip'' file to my ''~/Ham'' folder   - Downloads the ''zip'' file to my ''~/Ham'' folder
-  - Renames the file I want to ''csv''+  - Changes the extension to ''csv''
   - Deletes all the files I don't want   - Deletes all the files I don't want
  
Line 22: Line 22:
 unzip amateur_delim.zip unzip amateur_delim.zip
  
-echo "Renaming amateur_delim.txt to amateur_delim.csv"+echo "Changing extension to csv"
 mv amateur_delim.txt amateur_delim.csv mv amateur_delim.txt amateur_delim.csv
 chmod 644 amateur_delim.csv chmod 644 amateur_delim.csv
Line 31: Line 31:
 echo echo
  
-echo "Done.  Note that the customer separator is:   ;"+echo "Done.  Note that the custom separator is:   ;"
 echo echo
 </file> </file>
Line 38: Line 38:
 To look up the file, I added this line to my ''alias'': To look up the file, I added this line to my ''alias'':
 <code bash> <code bash>
-alias hamsearch='cat /home/ptruchon/Ham/amateur_delim.csv |grep -i '+alias hamsearch='cat ~/Ham/amateur_delim.csv |grep -i '
 </code> </code>
  
blog/2026-05-01/quick_offline_ham_search.1777693892.txt.gz · Last modified: by va7fi