On Fri, Mar 09, 2007 at 03:57:18AM +0600, Mikhail Gusarov wrote:
Hi,

echo'ing empty string (not the single "\n") into /[rl]bar/<whatever>
does not change contents of the label. Is this intentional?

The text in the bars, or any file, is automatically truncated whenever you write any data to them. If you don't write any data, they're not truncated. Ideally, the O_TRUNCATE flag would be supported, but it's not atm. If you want to clear a bar, write some white space to it.

--
Kris Maglione

A shy, introverted child will choose a crowded public
area to loudly demonstrate new acquired vocabulary.

Attachment: pgpSBIn2tTicO.pgp
Description: PGP signature

Reply via email to