Comment 0 for bug 598054

Revision history for this message
Andreas Bühmann (buehmann) wrote :

Binary package hint: dash

The redirection operator <> shall open a file for reading and writing. It should not truncate the file as it does in dash:

dash -c 'echo foo > tmp; cat 0<> tmp'

Output: nothing; "tmp" has size 0 afterwards
Expected output: contents of foo; "tmp" still has size 4

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: dash 0.5.5.1-3ubuntu2
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Thu Jun 24 12:56:38 2010
ProcEnviron:
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: dash