[Bug 1004700] [NEW] xxd doesn't truncate output file
Nick Dyer
1004700 at bugs.launchpad.net
Fri May 25 20:56:44 UTC 2012
Public bug reported:
Steps to reproduce:
$ echo 6162636465 > 1.txt
$ xxd -r -p 1.txt out.bin
$ xxd out.bin
0000000: 6162 6364 65 abcde
$ echo 414243 > 2.txt
$ xxd -r -p 2.txt out.bin
$ xxd out.bin
0000000: 4142 4364 65 ABCde
I would expect out.bin to be just "ABC" at this point.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: vim 2:7.3.154+hg~74503f6ee649-2ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-19.33-generic 3.0.27
Uname: Linux 3.0.0-19-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Fri May 25 21:55:29 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: vim
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: vim (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug oneiric running-unity
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to vim in Ubuntu.
https://bugs.launchpad.net/bugs/1004700
Title:
xxd doesn't truncate output file
Status in “vim” package in Ubuntu:
New
Bug description:
Steps to reproduce:
$ echo 6162636465 > 1.txt
$ xxd -r -p 1.txt out.bin
$ xxd out.bin
0000000: 6162 6364 65 abcde
$ echo 414243 > 2.txt
$ xxd -r -p 2.txt out.bin
$ xxd out.bin
0000000: 4142 4364 65 ABCde
I would expect out.bin to be just "ABC" at this point.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: vim 2:7.3.154+hg~74503f6ee649-2ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-19.33-generic 3.0.27
Uname: Linux 3.0.0-19-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Fri May 25 21:55:29 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: vim
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/1004700/+subscriptions
More information about the foundations-bugs
mailing list