is_writeable
Package: WA2L/edrc 1.5.57
Section: Library Commands (3)
Updated: 04 November 2020
Index
Return to Main Contents
NAME
is_writeable - test if a file or directory is writeable
SYNOPSIS
edrc/lib/is_writeable
[
-h
]
is_writeable
file
|
directory
AVAILABILITY
WA2L/edrc
DESCRIPTION
check if write access to a file or a directory is possible.
Return 'True'/'0' if write access is possible, otherwise
return 'False'/'1'.
OPTIONS
- -h
-
print usage message.
- file
-
file to check write access.
- directory
-
directory to check write access.
ENVIRONMENT
-
EXIT STATUS
- 0
-
write access possible.
True
is returned to
stdout.
- 1
-
write access not possible.
False
is returned to
stdout.
- 4
-
usage message printed.
FILES
-
EXAMPLES
-
SEE ALSO
edrcintro(1),
is_existing(3),
test(1)
NOTES
-
BUGS
-
AUTHOR
is_writeable was developed by Christian Walther. Send suggestions
and bug reports to wa2l@users.sourceforge.net .
COPYRIGHT
Copyright © 2020
Christian Walther
This is free software; see
edrc/doc/COPYING
for copying conditions. There is ABSOLUTELY NO WARRANTY; not
even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This document was created by man2html
using the manual pages.
Time: 16:53:18 GMT, August 28, 2024