From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28335 invoked from network); 3 Feb 2007 20:53:02 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.7 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 3 Feb 2007 20:53:02 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 49806 invoked from network); 3 Feb 2007 20:52:55 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 3 Feb 2007 20:52:55 -0000 Received: (qmail 27973 invoked by alias); 3 Feb 2007 20:52:48 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11179 Received: (qmail 27964 invoked from network); 3 Feb 2007 20:52:47 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 3 Feb 2007 20:52:47 -0000 Received: (qmail 48644 invoked from network); 3 Feb 2007 20:52:47 -0000 Received: from vms048pub.verizon.net (206.46.252.48) by a.mx.sunsite.dk with SMTP; 3 Feb 2007 20:52:40 -0000 Received: from torch.brasslantern.com ([71.116.79.148]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JCW00250NBQAY64@vms048.mailsrvcs.net> for zsh-users@sunsite.dk; Sat, 03 Feb 2007 14:52:39 -0600 (CST) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id l13Kqbl7007935 for ; Sat, 03 Feb 2007 12:52:38 -0800 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id l13KqbUW007934 for zsh-users@sunsite.dk; Sat, 03 Feb 2007 12:52:37 -0800 Date: Sat, 03 Feb 2007 12:52:37 -0800 From: Bart Schaefer Subject: Re: keep empty lines at the end of files? In-reply-to: <45C2FE72.7040303@ulpmm.u-strasbg.fr> To: zsh-users Message-id: <070203125237.ZM7933@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <45C2FE72.7040303@ulpmm.u-strasbg.fr> Comments: In reply to Marc Chantreux "keep empty lines at the end of files?" (Feb 2, 10:03am) On Feb 2, 10:03am, Marc Chantreux wrote: } } I have some files with very important empty lines at the end of them. } } Is the a clean and short way to *not* trim the file ? zmodload -i zsh/mapfile content=${mapfile[ldap_user_passwd]} I'm not sure, historically speaking, why $(<...) is trimming trailing blank lines.