Redirect output to /dev/null only if VERBOSE is not set

前端 未结 0 375
南旧
南旧 2020-12-06 15:20

How would you accomplish this?

if [[ -z $VERBOSE ]]; then
    REDIRECT=">/dev/null 2>/dev/null"
fi

pip         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题