xref
: /
freebsd
/
bin
/
sh
/
tests
/
builtins
/
read10.0
(revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
Home
History
Annotate
Line#
Scopes#
Navigate#
Raw
Download
current directory
1
2
set -e
3
4
v=original_value
5
r=0
6
read v <
/dev/null
|| r=$?
7
[ "$r" -eq 1 ]
8
[ -z "$v" ]
9