X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C6DB97.4063607A" Subject: Read not honouring "-r"? Date: Tue, 19 Sep 2006 12:26:43 +0930 Message-ID: In-Reply-To: <1158579916.13107.ezmlm@cygwin.com> From: "Irwin, Doug" To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 Note-from-DJ: This may be spam ------_=_NextPart_001_01C6DB97.4063607A Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable All, I am working on a script which monitors mounts for free space. It does this by reading from a config file (surprise) consisting of mount, threshold, threshold. One would expect a "read -r fs t2 t3" to process this without attempting to expand slashes. But I can't seem to get this bit working... And I can't seem to find any doco on doing that in Cygwin. I've attached the files I am testing with in the hope that someone can help me work this out. No doubt I have missed something rather obvious. Any assistance greatly appreciated! Regards, -doug ------_=_NextPart_001_01C6DB97.4063607A Content-Type: application/octet-stream; name="test.sh" Content-Transfer-Encoding: base64 Content-Description: test.sh Content-Disposition: attachment; filename="test.sh" IyEvYmluL2tzaApGU0NGRz0uL2ZpbGVzeXN0ZW1zLmNmZwoKZ3JlcCAtdiAn XiMnICRGU0NGRyA+IC90bXAvZnNjZmckJAoKd2hpbGUgcmVhZCAtciBmcyB0 MiB0MwpkbwogICAgICAgIGVjaG8gIiRmcyIKICAgICAgICBlY2hvICIkdDIi CiAgICAgICAgZWNobyAiJHQzIgpkb25lIDwgL3RtcC9mc2NmZyQkCgo= ------_=_NextPart_001_01C6DB97.4063607A Content-Type: application/octet-stream; name="filesystems.cfg" Content-Transfer-Encoding: base64 Content-Description: filesystems.cfg Content-Disposition: attachment; filename="filesystems.cfg" LwkJMjAwCTIwMA0KL2MJCTIwMAkyMDANCi9kCQkyMDAJMjAwDQovdXNyL2Jp bgkJMjAwCTIwMA0KL3Vzci9saWIJCTIwMAkyMDANCg== ------_=_NextPart_001_01C6DB97.4063607A Content-Type: text/plain; charset=us-ascii -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ------_=_NextPart_001_01C6DB97.4063607A--