Thread View: gnu.bash.bug
1 messages
1 total messages
Started by Peter Su
Wed, 28 Jun 1989 19:37
More on test -w
Author: Peter Su
Date: Wed, 28 Jun 1989 19:37
Date: Wed, 28 Jun 1989 19:37
8 lines
715 bytes
715 bytes
My last message was kind of bogus, I apologize. The problem is that test -w always fails on directories. Seems that the open call in SunOS 4.0 returns and error if you try to open a directory for writing. Thus, open may not be the way to handle the -w switch to test. Perhaps the fix would be to use access instead? Pete
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads