[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

printf '\x' exit status is 0

From: Poor Yorick
Subject: printf '\x' exit status is 0
Date: Tue, 10 Jul 2007 18:51:59 +0000

(on my debian system, bashbug reports for bash 2.05)

printf status is 0 but /usr/bin/printf is 1.  Is this the expected behavior?

address@hidden:~$ bash3
address@hidden:~$ bash3 --version
GNU bash, version 3.00.16(1)-release (i386-pc-linux-gnu)
Copyright (C) 2004 Free Software Foundation, Inc.
address@hidden:~$ printf '\x'
bash3: printf: missing hex digit for \x
address@hidden:~$ echo $?
address@hidden:~$ /usr/bin/printf '\x'
/usr/bin/printf: missing hexadecimal number in escape
address@hidden:~$ echo $?

Poor Yorick

reply via email to

[Prev in Thread] Current Thread [Next in Thread]