[Bug 2132404] Re: coreutils: truncate not dropin replacement of gnu coreutils

Sylvestre Ledru 2132404 at bugs.launchpad.net
Tue Nov 25 14:55:09 UTC 2025


Fixed in 0.4.0:
https://github.com/uutils/coreutils/commit/7ca5f66fa1deec91c75868816baac0efb60eb0af

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rust-coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/2132404

Title:
  coreutils: truncate not dropin replacement of gnu coreutils

Status in rust-coreutils package in Ubuntu:
  New

Bug description:
  As said, I found this while debugging asciidoctor autopkgtest failure:

   59s + asciidoctor -b manpage example.adoc
   60s + sed /Generator/d -i example.1
   60s + truncate -s -1 example.ref
   60s error: unexpected argument '-1' found
   60s 
   60s   tip: to pass '-1' as a value, use '-- -1'
   60s 
   60s Usage: truncate [OPTION]... [FILE]...
   60s 

  Of course the same in Debian works:

  $ echo foo > 1
  $ truncate -s -1 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2132404/+subscriptions




More information about the foundations-bugs mailing list