[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Feature request - ganged file test switches
From: |
Steve Simmons |
Subject: |
Feature request - ganged file test switches |
Date: |
Sat, 9 Aug 2014 07:07:15 -0400 |
Advance apologies if this has already been discussed and rejected.
It would be nice to have ganged file test switches. As an example, to test that
a directory exists and is properly accessible one could do
if [[ -d foo ]] && [[ -r foo ]] && [[ -x foo ]] ; then . . .
but
if [[ -drx foo ]] ; then . . .
is a lot easier.
Best,
Steve
- Feature request - ganged file test switches,
Steve Simmons <=