Red Hat Bugzilla – Bug 178311
unallowed \r escape sequence
Last modified: 2007-11-30 17:11:21 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050921 Red Hat/1.0.7-1.4.1 Firefox/1.0.7
Description of problem:
There is a message in intscripts (diskdump) that contains a non recommended escape sequence '\r':
msgid "Saving panic dump from swap partition:\r"
gettext tools complain that:
"internationalized messages should not contain the `\r' escape sequence"
'\r' should probably be replaced by '\n'.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Look at /etc/rc.d/init.d/diskdump line 250
Actual Results: '\r' escape sequence found
Expected Results: '\n' escape sequence expected
I presume that the "\r" usage was done intentionally, and that
the subsequent $SAVECORE command output is supposed to over-write
the "Saving panic..." string:
for dev in $(echo $DEVICE | tr ':' ' '); do
$DISKDUMPFMT -c $dev 2> /dev/null
if [ $? -eq 6 ]; then
echo -e $"Saving panic dump from swap partition:\r" >&2
$SAVECORE -D -p $dev
echo -ne "\r" >&2
As Dave said, the "\r" usage was done intentionally. It is required so as to show
a progress bar of savecore appropriately. If not "\r" but "\n" is used as
an escape sequence, then users see the following messages.
Saving panic dump from swap partition:
Although the diskdumputils package is included in FC, diskdump facility
isn't included in FC's kernel. Consequently, if this bug is for FC, then
I won't fix anything because diskdump doesn't work with FC due to the above
reason. I don't think anyone could see the message which was written in
I won't fix anything due to the following reasons, so I close this BZ.
- Although this does not affect to anything, many modifications will