[Top][All Lists]

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

bug#7463: truncate

From: Erik Auerswald
Subject: bug#7463: truncate
Date: Mon, 22 Nov 2010 16:21:08 +0100
User-agent: Mutt/1.5.18 (2008-05-17)


On Mon, Nov 22, 2010 at 09:41:33AM -0500, Rupert Bruce wrote:
> truncate (GNU coreutils) 7.4
> Unexpected behavior:
> $ ls -l
> total 0
> $ truncate --size 0 *.log
> $ ls
> *.log
> I would expect "truncate --size 0 *.log" to truncate any files ending  
> with ".log"; instead I get a new file called "*.log"

That is caused by your shell, see the "nullglob" option (at least for

Trying to understand [the GNU GPL] in terms of the goals and values
of open source is like trying [to] understand a CD drive's retractable
drawer as a cupholder.
                        -- Richard Stallman

reply via email to

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