From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.52.29.52 with SMTP id g20csp7452vdh; Tue, 26 Mar 2013 20:15:07 -0700 (PDT) X-Received: by 10.52.21.47 with SMTP id s15mr5848558vde.8.1364354107100; Tue, 26 Mar 2013 20:15:07 -0700 (PDT) Return-Path: Received: from rubyforge.org (50-56-192-79.static.cloud-ips.com. [50.56.192.79]) by mx.google.com with ESMTP id p8si20558630vdw.62.2013.03.26.20.15.06; Tue, 26 Mar 2013 20:15:07 -0700 (PDT) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 50.56.192.79 as permitted sender) client-ip=50.56.192.79; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 50.56.192.79 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id A4A0F2E0D6; Wed, 27 Mar 2013 03:15:06 +0000 (UTC) X-Greylist: delayed 900 seconds by postgrey-1.31 at rubyforge; Wed, 27 Mar 2013 03:14:43 UTC Received: from smtp3.clear.net.nz (smtp3.clear.net.nz [203.97.33.64]) by rubyforge.org (Postfix) with ESMTP id 0EDA02E0BE for ; Wed, 27 Mar 2013 03:14:42 +0000 (UTC) Received: from mxin3-orange.clear.net.nz (lb2-srcnat.clear.net.nz [203.97.32.237]) by smtp3.clear.net.nz (CLEAR Net Mail) with ESMTP id <0MKA004U2TNB0840@smtp3.clear.net.nz> for sup-talk@rubyforge.org; Wed, 27 Mar 2013 15:59:39 +1300 (NZDT) Received: from 121-73-231-102.broadband.telstraclear.net (HELO [121.73.231.102]) ([121.73.231.102]) by smtpin3.clear.net.nz with ESMTP; Wed, 27 Mar 2013 15:59:35 +1300 Date: Wed, 27 Mar 2013 16:02:24 +1300 From: Adam Bogacki To: sup-talk@rubyforge.org Message-id: <51526140.1090102@clear.net.nz> MIME-version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 Subject: [sup-talk] Thunderbird, and a syntax error near unexpected token `"\n"' X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============7478660580414413127==" Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org This is a multi-part message in MIME format. --===============7478660580414413127== Content-type: multipart/alternative; boundary=------------000907080201090307040703 This is a multi-part message in MIME format. --------------000907080201090307040703 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I'm trying to add maildirs to sup, adding two tags, one for the Thunderbird folder and one for the name of the mail collection, following the example at http://sup.rubyforge.org/wiki/wiki.pl?ThunderbirdImport but keep getting > root@Candide03:32 PM~:~$ `ls mdirs`.split("\n").each {|dir|`ls > mdirs/#{dir}`.split("\n").each {|mdir| sup-add -ul > #{dir.downcase},#{mdir.downcase} > `maildir:/home/adam/.icedove/9zurob0v.default/Mail/mdirs/#{dir}/#{mdir}`}} > > bash: syntax error near unexpected token `"\n"' Can anyone point out what I am missing here ? Regards, Adam Bogacki, adam.bogacki@clear.net.nz --------------000907080201090307040703 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I'm trying to add maildirs to sup, adding two tags, one for the Thunderbird folder and one for the name of the mail collection,
following the example at
http://sup.rubyforge.org/wiki/wiki.pl?ThunderbirdImport

but keep getting

root@Candide03:32 PM~:~$ `ls mdirs`.split("\n").each {|dir|`ls mdirs/#{dir}`.split("\n").each {|mdir| sup-add -ul #{dir.downcase},#{mdir.downcase} `maildir:/home/adam/.icedove/9zurob0v.default/Mail/mdirs/#{dir}/#{mdir}`}}
bash: syntax error near unexpected token `"\n"'

Can anyone point out what I am missing here ?

Regards,

Adam Bogacki,

adam.bogacki@clear.net.nz

--------------000907080201090307040703-- --===============7478660580414413127== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk --===============7478660580414413127==--