tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `tramp_perl_file_attributes /root/ integer' returns with error


From: Michael Albinus
Subject: Re: `tramp_perl_file_attributes /root/ integer' returns with error
Date: Tue, 20 Jul 2010 16:53:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Terrence Brannon <address@hidden> writes:

>> could you, please, check on the remote host
>> the following commands:

[...]

address@hidden:/tmp > tramp_perl_file_attributes () {
> \perl -e '
> @stat = lstat($ARGV[0]);
> if (address@hidden) {
if (@stat = lstat($ARGV[0]);) {

Bingo! Your shell interprets "address@hidden", and expands it to
"@stat = lstat($ARGV[0]);". This shouldn't happen, because the perl
program in the shell function is enclosed in single quotes. Hmm.

I have no access to IRIX64 systems. Could you find out, how the shell
function must be written in order to pass the perl program literally?

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]