#!/bin/bash
# https://www.marketechlabo.com/bash-batch-best-practice/
CONF_FILE=/home/oracle/smpl.conf
PGLOG=$(cat ${CONF_FILE}|grep ‘PGLOG’|awk -F= ‘{print $2}’)
SQLLOG_WORK=$(cat ${CONF_FILE}|grep ‘SQLLOG_WORK’|awk -F= ‘{print $2}’)
TARGET_DB=$(cat ${CONF_FILE}|grep ‘TARGET_DB’|awk -F= ‘{print $2}’)
TARGET_PDB=$(cat ${CONF_FILE}|grep ‘TARGET_PDB’|awk -F= ‘{print $2}’)
TARGET_SCHMA=$(cat ${CON
#エラー処理
#bashエラー処理
#shellエラー処理
#shell-template