I have a text file that has some lines like this (hyphen repeated)
-------------------------------------------------------
I need to replace these lines with character 'B' repeated 1500 times. For example, like
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
Any suggestions using 'sed' or 'awk' command?