[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#56963: 29.0.50; trampified make-empty-file on macOS
From: |
Michael Albinus |
Subject: |
bug#56963: 29.0.50; trampified make-empty-file on macOS |
Date: |
Thu, 04 Aug 2022 11:04:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
dick <dick.r.chiang@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.