Skip to content

Commit b096e3e

Browse files
Fix typos found by codespell
1 parent 4844b54 commit b096e3e

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The Ubuntu Forums "system-info" script queries the users computer and prepares a
55
- Creates the file `system-info.txt` at the base of the user's home directory.
66
- Masks all sensitive info, like IP addresses, MAC addresses, Full FQDN and Serial numbers, automatically in a meaningful way.
77
- 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.
8-
- 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.
8+
- 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.
99
- Future versions may have an option to create the archive `system-info.tar.gz` if the report exceeds 19.5 kB in size.
1010

1111

@@ -24,7 +24,7 @@ This will download the script, make it executable, and run it, all in a row.
2424
Or, from a GUI Desktop, this way:
2525

2626
1. [Download][1] the script
27-
2. In Nautilus or other file broswer, From File Properties, Permissions, Make it executable.
27+
2. In Nautilus or other file browser, From File Properties, Permissions, Make it executable.
2828
3. Run it from your file browser or a Run dialog from kdialog
2929

3030
[1]: https://github.com/UbuntuForums/system-info/raw/main/system-info

system-info

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ function CheckRoot()
106106
if [[ "$EUID" == 0 ]] || [ $UID -eq 0 ]
107107
then
108108
echo -e "$redback Do not run this script with sudo or as root$resetvid"
109-
echo -e "If your Linux ditribution installs with only a Root User as a default, "
109+
echo -e "If your Linux distribution installs with only a Root User as a default, "
110110
echo -e "please create another User that has the ability to run elevated commands. "
111111
PassPhrase
112112
#exit_code=106
@@ -273,7 +273,7 @@ function GetReleaseDescription()
273273
if [[ "$os_name" == "" ]]
274274
then
275275
echo -e "There was a problem determining the Release Description... "
276-
echo -e "Here is the raw outout of the release file(s) to determine manually:"
276+
echo -e "Here is the raw output of the release file(s) to determine manually:"
277277
egrep --color=never '=' /etc/*release
278278
debug "GetReleaseDescription(). Dumped release file info. Condition failed." 1
279279
else
@@ -664,7 +664,7 @@ function FixNonAsciiVar() {
664664
VarContent=$2 # Global Var
665665

666666
# Check if field contains non ascii characters
667-
# Remember to set whatever the original passed varaible equal to $VarContent after the call
667+
# Remember to set whatever the original passed variable equal to $VarContent after the call
668668
# to catch the fixed return value.
669669
if [[ "$VarContent" == "*[!:ascii:]*" ]]
670670
then
@@ -754,7 +754,7 @@ function GetSb()
754754
if [ $check_mokutil -eq 0 ]
755755
then
756756
echo -e "\tThis would check / have checked if SecureBoot was enabled or not, "
757-
echo -e "\tand checks if the system BIOS was UEFI or Lagacy only BIOS, "
757+
echo -e "\tand checks if the system BIOS was UEFI or Legacy only BIOS, "
758758
echo -e "\tbut package mokutil was not installed. If you would like to check"
759759
echo -e "\tthis information, please install 'mokutil' and rerun script."
760760
else
@@ -775,7 +775,7 @@ function GetSb()
775775
elif [[ "$error_mokutil" == *"Command 'mokutil' not found"* ]] #
776776
then
777777
echo -e "\tThis would check / have checked if SecureBoot was enabled or not, "
778-
echo -e "\t and checks if the system BIOS was UEFI or Lagacy only BIOS, "
778+
echo -e "\t and checks if the system BIOS was UEFI or Legacy only BIOS, "
779779
echo -e "\tbut package mokutil was not installed. If you would like to check"
780780
echo -e "\tthis information, please install 'mokutil' and rerun script."
781781
else
@@ -982,7 +982,7 @@ function GetDiskInfo()
982982
sudo fdisk -l 2>&1 | sed '/\/dev\/loop/,+3 d' 2> /dev/null | uniq
983983
nl
984984
echo -e "${setansi}---------- Disk/Partition Information From 'lsblk':$ransi"
985-
# Note: sed replacement added to switch out non-ascii charaters of 'lsblk'.
985+
# Note: sed replacement added to switch out non-ascii characters of 'lsblk'.
986986
# 'paste.ubuntu.com' does not accept non-ascii characters
987987
lsblk -o NAME,SIZE,FSTYPE,LABEL,MOUNTPOINT,MODEL | grep -v '/snap/' | sed 's/^[\|,`]-/\|_/g'
988988
echo -e " ------- 'lsblk' information continued ..."
@@ -1137,7 +1137,7 @@ function GetGraphicsEnv()
11371137
echo -e " --- Graphics Environment Continued from 'various graphics ENVs' ----"
11381138
if [ "$XDG_CURRENT_DESKTOP" != "" ]
11391139
then
1140-
echo -e "The Current Configured Destop is: $XDG_CURRENT_DESKTOP "
1140+
echo -e "The Current Configured Desktop is: $XDG_CURRENT_DESKTOP "
11411141
else
11421142
echo -e "The Current Configured Desktop is: <Not Populated> "
11431143
fi
@@ -1208,7 +1208,7 @@ function GetGraphicsEnv()
12081208
}
12091209

12101210
function GetSoundDevices() {
1211-
# Retreive Sound device ID's
1211+
# Retrieve Sound device ID's
12121212
echo -e "${setansi}---------- Sound Device Information From 'lspci':$ransi"
12131213
sound_device_list=$(sudo -i lspci | \
12141214
grep --color=never -i -e 'audio ' | \
@@ -1525,7 +1525,7 @@ function GetUserInstalled()
15251525
user_installed=$(mktemp /tmp/UserInstalled-XXXXX)
15261526
# Use apt-mark to list all packages marked as manually installed.
15271527
apt-mark showmanual | sort -u > $manually_installed
1528-
# Check to see if defualt installed list exists
1528+
# Check to see if default installed list exists
15291529
# for prebuilt system images, it does not exist
15301530
if [ -f /var/log/installer/initial-status.gz ]
15311531
then
@@ -2113,7 +2113,7 @@ function Paster()
21132113
debug "Paste_done: $paste_done" 1
21142114
if $paste_done
21152115
then
2116-
# Check $return_url for NULLL
2116+
# Check $return_url for NULL
21172117
if [ "$return_url" != "" ]
21182118
then
21192119
echo -e "Uploaded Report: ${startt}:" >> "$linklog"

0 commit comments

Comments
 (0)