Great Circle Associates Majordomo-Users
(March 1995)

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

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]


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 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

The code in 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 |";

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

Does anybody have a fix to this minor, but annoying problem.

Thanks in advance.

Best Regards,

Jarle Martinsen
International Telecomunication Union (ITU)
Place des nations
CH-1211 Geneva 20

X.400:    S=martinsen; P=itu; A=arcom; C=ch
Voice:    +41 22 730 5949
Fax:      +41 22 730 5337

Indexed By Date Previous: more info RE: segmentation fault
From: (Greg Johnson)
Next: Re: resend and 'spaced' lines
From: Spider Boardman <spider@Orb.Nashua.NH.US>
Indexed By Thread Previous: more info RE: segmentation fault
From: (Greg Johnson)
Next: Resend Problems(still)
From: John Banghart <>

Search Internet Search