On 12/10/2010 09:10 AM, wayana wrote:
> Hi,
>
> I'm wondering why truncate requires a "mandatory option" (-r or -s) to
> work.
This has been suggested in the past. Unfortunately, truncation to 0
bytes is viewed as a rather destructive operation, so the current
thought is that it is worth making the user do a bit of extra typing to
imply that they meant it. And you can always write a shell function or
alias to supply the argument automatically, if you like the ease of a
shorter command in an interactive environment.
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc Description: OpenPGP digital signature