This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Read not honouring "-r"?


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

Attachment: test.sh
Description: test.sh

Attachment: filesystems.cfg
Description: filesystems.cfg

--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]