O.K., I did a "git pull" and am at:
Code:
doug@s19:~/system-info$ git log --oneline
eff60f9 (HEAD -> main, origin/main, origin/HEAD) Updated/fixed GetSb().
e63e84b Updated GetVersion().
a1fb8aa Updated GetSb().
b77acf2 Updated all files for UbuntuForums Release.
And get:
Code:
doug@s19:~/system-info$ ./system-info --show 5
./system-info: line 241: syntax error near unexpected token `('
./system-info: line 241: ` read -p "What is the Main Complaint (summarized)? " main_complaint'
doug@s19:~/system-info$ ./system-info
./system-info: line 241: syntax error near unexpected token `('
./system-info: line 241: ` read -p "What is the Main Complaint (summarized)? " main_complaint'
And on the other one:
Code:
doug@s19:~/tmp/system-info$ git log --oneline
3176633 (HEAD -> main, origin/main, origin/HEAD) Updated/fixed GetSb().
8392925 debugged GetArgs() for Logger. Or as someone said, debugged debugger.
3d917f4 Renamed GetVersion() to GetArgs(). Now includes more external arguments.
6433629 Renamed GetVersion() to GetArgs(). Now includes more external arguments.
d703fc7 Updated GetVersion().
0182991 Updated GetSb().
0690364 Updated all files for push to UbuntuForums and Release.
And get:
Code:
doug@s19:~/tmp/system-info$ ./system-info
./system-info: line 241: syntax error near unexpected token `('
./system-info: line 241: ` read -p "What is the Main Complaint (summarized)? " main_complaint'
doug@s19:~/tmp/system-info$ ./system-info --show 5
./system-info: line 241: syntax error near unexpected token `('
./system-info: line 241: ` read -p "What is the Main Complaint (summarized)? " main_complaint'
EDIT 1: If I go back one commit:
Code:
doug@s19:~/tmp/system-info$ git checkout 8392925
it works.
EDIT 2: The fix:
Code:
doug@s19:~/tmp/system-info$ git diff
diff --git a/system-info b/system-info
index 8cf6934..b0ee0e8 100755
--- a/system-info
+++ b/system-info
@@ -192,7 +192,7 @@ function CheckPrerequisites()
echo -e "$Program is not installed."
check_prog=0;
fi
- echo -e ' -------------------------------- "
+ echo -e " -------------------------------- "
fi
done
Bookmarks