docs-common/bin fdpsh,1.5,1.6
Paul W. Frields (pfrields)
fedora-docs-commits at redhat.com
Sat Feb 4 16:20:49 UTC 2006
Author: pfrields
Update of /cvs/docs/docs-common/bin
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7898
Modified Files:
fdpsh
Log Message:
Use read prompt function to eliminate backspace bobbles
Index: fdpsh
===================================================================
RCS file: /cvs/docs/docs-common/bin/fdpsh,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- fdpsh 4 Feb 2006 14:49:59 -0000 1.5
+++ fdpsh 4 Feb 2006 16:20:41 -0000 1.6
@@ -46,8 +46,7 @@
else
while :
do
- echo -n "${ME}> " >&2
- read -e cmd
+ read -e -p "${ME}> " cmd
if [ "${cmd}" ]; then
[ ! -f ${FDPLOG} ] || echo "${CMD}" >>${FDPLOG}
eval ${cmd}
More information about the Fedora-docs-commits
mailing list