Read not honouring "-r"?

Irwin, Doug doug.irwin@eds.com
Tue Sep 19 02:57:00 GMT 2006


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.sh
Type: application/octet-stream
Size: 176 bytes
Desc: test.sh
URL: <http://cygwin.com/pipermail/cygwin/attachments/20060919/a8c34f41/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: filesystems.cfg
Type: application/octet-stream
Size: 76 bytes
Desc: filesystems.cfg
URL: <http://cygwin.com/pipermail/cygwin/attachments/20060919/a8c34f41/attachment-0001.obj>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list