6 lines
136 B
Bash
6 lines
136 B
Bash
#!/bin/sh
|
|
set -eu
|
|
. ${1}
|
|
shift
|
|
mysql -h ${HOST} --port ${PORT} -u ${USER} -p${PASS} ${DB} -B -r -e "SELECT * FROM ${VISTA};" > ${NAME}
|
|
|