[issue799] [grml-zsh-config] strange output when using %s

Ulrich Dangel bts at bts.grml.org
Mon Feb 8 01:56:18 CET 2010


Ulrich Dangel <mru at grml.org> added the comment:

The problem is within the preexec function, currently we are using
print -Pn "\e]0;%n@%m: $1\a" to change the title to the current command.

The problem is now, if $1 contains a printf format sequence like for example %s
the next argument will be formated accordingly to the specified format sequence.

----------
messages: 2829, 2885
nosy: dejot, ft
priority: bug
status: chatting
title: [grml-zsh-config] strange output when using %s

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue799>
_____________________________________


More information about the Bugs-changes mailing list