There is **Bash script** which i use to export some data from Oracle dataBase and Insert it Into Text File.

The problem is when i export the Data to Text file , there is always some line in output file which i need to remove it.

Need to remove ------ in Output.

There is Bash script putting below Parameter

```
sqlplus -s ${DB_CONNECTION} << EOF > temp.$$
set colsep ','
set pagesize 50000
set linesize 256
set trimspool on
set feedback off
set trim on
spool

--Query

spool off

```

Output will be : 

```
SDATE     ,ERROR_CODE                  ,STATUS      ,PROCESS                       ,FAILURE_COUNT
----------,----------------------------------------,--------------------,--------------------------------------------------,----------------------------------------

```