[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7463: truncate
From: |
Rupert Bruce |
Subject: |
bug#7463: truncate |
Date: |
Mon, 22 Nov 2010 09:41:33 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Thunderbird/3.0.10 |
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"
FYI, one of the first changes I make on a new installation is to alias
truncate in .bashrc:
alias ll='ls -l'
alias la='ls -A'
alias truncate='truncate --size 0'
- bug#7463: truncate,
Rupert Bruce <=
- bug#7463: truncate, Pádraig Brady, 2010/11/22
- bug#7463: truncate, Erik Auerswald, 2010/11/22
- bug#7463: truncate, Eric Blake, 2010/11/22
- bug#7463: truncate, Steve Ward, 2010/11/22
- bug#7463: truncate, Rupert Bruce, 2010/11/22