From: Michael Albinus <michael.albinus@gmx.de>
To: dick <dick.r.chiang@gmail.com>
Cc: 56963@debbugs.gnu.org
Subject: bug#56963: 29.0.50; trampified make-empty-file on macOS
Date: Thu, 04 Aug 2022 11:04:55 +0200 [thread overview]
Message-ID: <87les48jm0.fsf@gmx.de> (raw)
In-Reply-To: <878ro4e6sn.fsf@dick> (dick's message of "Thu, 04 Aug 2022 04:45:12 -0400")
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.
next prev parent reply other threads:[~2022-08-04 9:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-03 20:53 bug#56963: 29.0.50; trampified make-empty-file on macOS dick.r.chiang
2022-08-04 5:28 ` Michael Albinus
2022-08-04 8:45 ` dick
2022-08-04 9:04 ` Michael Albinus [this message]
2022-08-04 9:25 ` dick
2022-08-04 9:34 ` Michael Albinus
2022-08-04 16:14 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87les48jm0.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=56963@debbugs.gnu.org \
--cc=dick.r.chiang@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).