Skip to content

Commit

Permalink
Fix typos found by codespell
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed Nov 27, 2021
1 parent 51affbb commit 6231284
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.


Expand All @@ -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
Expand Down
14 changes: 7 additions & 7 deletions system-info
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## MAFoElffen, <[email protected]>, 2021.08.19
##
## Contributers:
## Contributors:
## sudodus <[email protected]>, 2021.08.25
## Doug S, 2021.08.22
## oldfred, 2021.08.20
Expand Down Expand Up @@ -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 ]
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 )
Expand Down Expand Up @@ -851,7 +851,7 @@ function MessageLess()
echo -e "Advance to a next page with the $blueback<SpaceBar>$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 <H> key."
Expand Down Expand Up @@ -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
}
Expand Down Expand Up @@ -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

0 comments on commit 6231284

Please sign in to comment.