I have the following file in my home area on my terminal.
hi.txt
With contents:
Site            : xyz
Observer        : xyz
Proposal        : xyz
Array Mode      : xyz
Observing Mode  : xyz
Date            : a
Num Antennas    : xyz
Antenna List    : xyz
Num bits/sample : xyz
Data Format     : xyz
Polarizations   : xyz
MJD             : xyz
UTC             : b 
Source          : xyz
I want to create a bash script which replaces the a and b values with values I input in the terminal in my data directory and writes the same there with the new values I input.
Is there a way to do this? I am very new to scripting with bashrc.
