From 62312849b90366125ce615743511dae3b4c57403 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sat, 27 Nov 2021 13:14:28 +0100 Subject: [PATCH] Fix typos found by codespell --- README.md | 4 ++-- system-info | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 896ef69..6eb0bac 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ The Ubuntu Forums "system-info" script queries the users computer and prepares a - Creates the file `system-info.txt` at the base of the user's home directory. - Masks all sensitive info, like IP addresses, MAC addresses, Full FQDN and Serial numbers, automatically in a meaningful way. - The script displays the report results within the 'less' utility to review the results, one screen at a time. To navigate from there, press the space bar, left, right, up, down, page up or page down keys to navigate. If in a graphical terminal session, you can also use mouse navigation. Press the "q" key to exit "less" and continue. It will print the final report and offer to upload to pastebin site. -- Offers to post the results to the Ubuntu `pastebinit` provider if that program is installed, and a sufficiently reliable internet connection is available. This is the easiest way to share the sanitized results with the Ubuntu Community for support. After succssful upload to the pastebin, it will both display and log the URL of the uploaded report (`~/system-info-link.log`), for you to copy and paste in your post on the Ubuntu Forums. +- Offers to post the results to the Ubuntu `pastebinit` provider if that program is installed, and a sufficiently reliable internet connection is available. This is the easiest way to share the sanitized results with the Ubuntu Community for support. After successful upload to the pastebin, it will both display and log the URL of the uploaded report (`~/system-info-link.log`), for you to copy and paste in your post on the Ubuntu Forums. - Future versions may have an option to create the archive `system-info.tar.gz` if the report exceeds 19.5 kB in size. @@ -24,7 +24,7 @@ This will download the script, make it executable, and run it, all in a row. Or, from a GUI Desktop, this way: 1. [Download][1] the script -2. In Nautilus or other file broswer, From File Properties, Permissions, Make it executable. +2. In Nautilus or other file browser, From File Properties, Permissions, Make it executable. 3. Run it from your file browser or a Run dialog from kdialog [1]: https://github.com/UbuntuForums/system-info/raw/main/system-info diff --git a/system-info b/system-info index 50c1937..b747120 100755 --- a/system-info +++ b/system-info @@ -2,7 +2,7 @@ ## MAFoElffen, , 2021.08.19 ## -## Contributers: +## Contributors: ## sudodus , 2021.08.25 ## Doug S, 2021.08.22 ## oldfred, 2021.08.20 @@ -471,7 +471,7 @@ function GetInternetStatus() function GetPingStatus() { - # Takes arg as IP or URL. Returns psuedo boolean $return_status. Called twice (by Paster() and GetInternetStatus()). + # Takes arg as IP or URL. Returns pseudo boolean $return_status. Called twice (by Paster() and GetInternetStatus()). ping -c 1 $1 > /dev/null pingStatus=$? if [ $pingStatus == 0 ] @@ -549,7 +549,7 @@ function GetFQDN() function GetDiskInfo() { - # Gets filesystem, disk, fstab and moutn information. Called once by Writer(). + # Gets filesystem, disk, fstab and mount information. Called once by Writer(). echo -e "${setansi}---------- File system specs from 'df -h':$ransi" df -hT -x tmpfs -x devtmpfs | grep -v '/snap/' nl @@ -668,7 +668,7 @@ function GetRepositories() function GetRepositoriesOld() { - # Gets Repository Informations. Called once by Writer(). + # Gets Repository Information. Called once by Writer(). echo -e "${setansi}---------- Repository Information from '/etc/apt/sources.list':$ransi" nl sources=$(grep -v '#' /etc/apt/sources.list | sed -e /^$/d ) @@ -851,7 +851,7 @@ function MessageLess() echo -e "Advance to a next page with the $blueback$resetvid key." echo -e "Navigate what has been displayed with the" echo -e "Left/Right/Up/Down Arrow, PageUp, PageDown, Home, or End keys." - echo -e "If you are running within a grahical terminal session," + echo -e "If you are running within a graphical terminal session," nl echo -e "you can also navigate with the mouse or touchpad." echo -e "Get more built-in help within 'less' with the key." @@ -957,7 +957,7 @@ function CheckPasterProgs() paste_prog=4; else paste_prog=0; - echo -e "Many utilites were not found. Something is wrong."; + echo -e "Many utilities were not found. Something is wrong."; debug "All progs used for paste where not found" 1 fi } @@ -1158,5 +1158,5 @@ Paster # # Recheck all messages and prompts for spelling errors # -# Add comments as script doucmentation: +# Add comments as script documentation: # - Document logic flow