I”m having issues using the bash command ‘sed’ and with Perl commands. I need a solution in bash or Perl to do the following:
1. replace existing carriage returns in a file with a pipe symbol (just one not a pipe symbol for each space)
2. replace an equals sign with a colon (without OS X terminal crashing)
3. add a carriage return to any specific word
Please help ASAP. Thanks.