Is there a particular way to setup formatting or some kind of line break for readability purposes?
For example, I have a line of code that is lengthy string like so with a lot of input parameters:
PGPASSWORD=$DB_OWNER_PWD $PSQL_HOME/psql -h $HOST_NM -p $PORT -U $DBOWNER -v v1=$DBOWNER -v v2=$DUSER -f tst.sql postgres
I would like to make it more readable in the script like this:
PGPASSWORD=$DB_OWNER_PWD $PSQL_HOME/psql -h $HOST_NM
-p $PORT
-U $DBOWNER
-v v1=$DBOWNER
-v v2=$DUSER
-f tst.sql postgres
How can I do that?