www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
Subject: | Read not honouring "-r"? |
Date: | Tue, 19 Sep 2006 12:26:43 +0930 |
Message-ID: | <D3DA8E9DB543364DB6DE9B5964BA8EEA4F2920@auntm231.apac.corp.eds.com> |
In-Reply-To: | <1158579916.13107.ezmlm@cygwin.com> |
From: | "Irwin, Doug" <doug DOT irwin AT eds DOT com> |
To: | <cygwin AT cygwin DOT com> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |