Hi,
I am new to unix shell programming.
I want to write a shell script for a functionality existing in mainframe system.
I have one file as below as input
123456
&__987
&12yuq
abcdef
_ referes to blank
condition:whenever the input file is having &__ ,it should be replaced with
blanks ___. rest of the file should be copied.
Other records should be copied as it is to the output file.
The output file should be as below
123456
___987
&12yuq
abcdef
Please help out with a shell script sample
Thanks