Sign in
gfiber
/
buildroot
/
master
/
.
/
fs
/
skeleton
/
bin
/
choose
blob: 5de9b43dbabceb58af53cd8299c315c14992fe91 [
file
] [
log
] [
blame
]
#!/usr/bin/python -S
# Randomly prints exactly one of the arguments given on the command line,
# or if there aren't any, returns nonzero.
import
random
import
sys
if
not
sys
.
argv
[
1
:]:
sys
.
exit
(
1
)
else
:
print
random
.
choice
(
sys
.
argv
[
1
:])