bug-bash
[Top][All Lists]
Advanced

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

Re: builtin printf ignores straight '\c'


From: Chet Ramey
Subject: Re: builtin printf ignores straight '\c'
Date: Tue, 12 Aug 2008 14:47:22 -0400

> Bash's printf appears to ignore the \c backslash escape:

This is, as you noted, as Posix specifies.

> When \c is provided via the %b conversion specifier, it is 
> interpreted:

Again, this is as posix specifies.

I'm not inclined to change the current behavior.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    chet@case.edu    http://tiswww.tis.case.edu/~chet/




reply via email to

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