GNU bug report logs - #29319
Potential tee bug

Previous Next

Package: coreutils;

Reported by: Simon Convent <simon.convent <at> rwth-aachen.de>

Date: Thu, 16 Nov 2017 16:45:02 UTC

Severity: normal

Tags: notabug

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Simon Convent <simon.convent <at> rwth-aachen.de>
To: <bug-coreutils <at> gnu.org>
Subject: Potential tee bug
Date: Thu, 16 Nov 2017 17:27:58 +0100
Hello,

when I run the command

echo test | tee "~/Desktop/test.txt"

I get the following error message:

tee: ~/Desktop/test.txt: No such file or directory

But when I run

echo test | tee "/home/simon/Desktop/test.txt"

, which is the same directory, tee works fine.

If I omit the "", everything works fine as well.
Is this behavior intended? I don't see why the "" should change the 
behavior like this.


Best regards
Simon




This bug report was last modified 7 years and 248 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.