[cxtest-patches] Patch to recognize trailing spaces in keyboard
input
tkho at ucla.edu
tkho at ucla.edu
Wed Apr 12 15:41:30 CDT 2006
Hi,
This patch allows for trailing spaces in keyboard input.
Thanks,
Thomas Kho
2006-04-12 Thomas Kho <tkho at ucla.edu>
* scripts/record_script.sh
Recognize trailing spaces at the end of keyboard input
Index: scripts/record_script.sh
===================================================================
RCS file: /home/cxtest/cvs/cxtest/scripts/record_script.sh,v
retrieving revision 1.39
diff -u -r1.39 record_script.sh
--- scripts/record_script.sh 29 Mar 2006 12:47:32 -0000 1.39
+++ scripts/record_script.sh 12 Apr 2006 20:08:40 -0000
@@ -159,7 +159,7 @@
keys="--help"
while [ "$keys" = "--help" ]
do
- read keys
+ IFS= read keys
if [ "$keys" = "--help" ]
then
echo
More information about the cxtest-patches
mailing list