-
Notifications
You must be signed in to change notification settings - Fork 1.8k
SC3063
Vidar Holen edited this page Apr 11, 2025
·
1 revision
if [ -R foo ]
then
..
fi
POSIX sh has no concept of namerefs. Rewrite your logic to not depend on them, or switch to Bash or Ksh.
[ -R name ]
is used to check whether name
is a nameref
. Since POSIX sh has no namerefs, either use a shell that does, or rewrite to not need namerefs.
None
- Help by adding links to BashFAQ, StackOverflow, man pages, POSIX, etc!