|
Subject: |
filename problem |
|
From: |
JARLE MARTINSEN +41 22 730 5949 <JARLE .
MARTINSEN @
ITU .
CH> |
|
Date: |
Thu, 09 Mar 1995 14:45:58 +0100 (CET) |
|
To: |
Majordomo-Users <Majordomo-Users @
GreatCircle .
COM> |
|
Autoforwarded: |
false |
|
Disclose-recipients: |
prohibited |
|
Hop-count: |
1 |
|
Importance: |
normal |
|
Mr-received: |
by mta TIES.MUAS; Relayed; Thu, 09 Mar 1995 14:45:58 +0100 |
|
Mr-received: |
by mta TAU; Relayed; Thu, 09 Mar 1995 14:46:11 +0100 |
|
Priority: |
normal |
|
Sensitivity: |
Company-Confidential |
|
Ua-content-id: |
11934BED3900 |
|
X400-mts-identifier: |
[;5658451509031995/A23984/TAU] |
Hi,
I got Majordomo v1.93 working with no problems, except
one minor one. In a list.archive I got a file called
something&.zip - no, the & sign is not a typo.
The zip being a binary file, should be uuencoded. The
shlock.pl file was modified according to a previous
posting in this mailing list - and it works, except when the
filename has one of these funny characters in it.
It looks like the & sign is being interpreted by the shell...or
something...
The code in shlock.pl is as follows;
sub main'lopen {
local($FH) = shift;
local($mode) = shift;
local($file) = shift;
# $fm is what will actually get passed to open()
local($fm) = "$mode$file";
#
# add uuencode
#
if ($mode !~ '>' && -B $file) {
local($myfile) = $file;
$myfile =~ s%^.*/%%;
$fm = "uuencode $file $myfile |";
}
#
#
local($status);
local($tries);
Majordomo sees the file, and notifies me by mail saying it
will send the file in the next mail (or something like that).
Next mail contain nothing...
--
begin 660 /t10/majordomo-1.93/lists/list.archive/something
`
end
Does anybody have a fix to this minor, but annoying problem.
Thanks in advance.
Best Regards,
/jarle
Jarle Martinsen
International Telecomunication Union (ITU)
Place des nations
CH-1211 Geneva 20
Switzerland
Internet: martinsen@itu.ch
X.400: S=martinsen; P=itu; A=arcom; C=ch
Voice: +41 22 730 5949
Fax: +41 22 730 5337
|
|