I am fairly new in unix I was wondering if anybody can help me out with this:
I am trying to output to a file the following fields;
Field1
Field2
Field4
From a database file dataBase1.
this is how the file looks:
dataBase1 TABLE DATA Example
==================
Table
------------------------------------
Field1 : XXXXXXXXXX
Field2 : XXXXXXXXXX
Field3 : XXXXXXXXXX
Field4 : XXXXXXXXX
I am however able to output the fields i wanted one by one by using
*dataBase1_dump -a |grep "Field1 : XXXXX" >filename.out
but I wanted to maybe like output the file in this format
Field1 : XXXXXXXXXX
Field2 : XXXXXXXXXX
Field4 : XXXXXXXXX
Thank You so much for taking the time looking into this guys.