X-Spam-Check-By: sourceware.org Message-ID: <45A52E6C.61D53739@dessent.net> Date: Wed, 10 Jan 2007 10:20:28 -0800 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: cygwin-email utility clipping attached zips References: <006701c734d6$d8531e00$a501a8c0 AT CAM DOT ARTIMI DOT COM> <45A520B8 DOT 7090802 AT wi DOT rr DOT com> <45A52736 DOT 2040009 AT gmx DOT de> <45A5292A DOT 20606 AT gmx DOT de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Saro Engels wrote: > I wasn't right: > It should be: > $ file=*.pdf; file=`echo $file | sed "s/ /,/g"` > $ echo $file > $ email user AT domain DOT com -s test -a $file < sample.txt Firstly this can be simplified to simply: email user AT example -s test -a $(echo *.pdf|sed "s/ /,/g")