function is_database() { psql -lqt | cut -d \| -f 1 | grep -wq $1 } echo database: read if is_database $REPLY then echo $REPLY exists else ...
確定! 回上一頁