GNU bug report logs -
#56963
29.0.50; trampified make-empty-file on macOS
Previous Next
Reported by: dick.r.chiang <at> gmail.com
Date: Thu, 4 Aug 2022 00:35:02 UTC
Severity: normal
Found in version 29.0.50
Fixed in version 29.1
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 56963 <at> debbugs.gnu.org (full text, mbox):
dick <dick.r.chiang <at> gmail.com> writes:
Hi,
> Oh, it's probably just "echo -n" not being portable in
> tramp-sh-handle-write-region. I attach the instrumented log
> as per your instructions.
Thanks. Well, there is a missing space in the command:
> 2022-08-04T08:34:37.0618380Z 08:29:48.506172 tramp-send-command (6) # echo -n "">/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tramp-testB8ibE4
Would it work if the command is
--8<---------------cut here---------------start------------->8---
echo -n "" >/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tramp-testB8ibE4
--8<---------------cut here---------------end--------------->8---
If not, what else would be portable? Something like this?
--8<---------------cut here---------------start------------->8---
cat </dev/null >/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tramp-testB8ibE4
--8<---------------cut here---------------end--------------->8---
Best regards, Michael.
This bug report was last modified 2 years and 291 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.