I have a text file like this:
info Some info here
In which when I use cat -A display this:
info^I Some info here
How do I edit this so I'll get something like this instead:
info<space>-<space>Some info here
|
I have a text file like this:
In which when I use cat -A display this:
How do I edit this so I'll get something like this instead:
|
|||
|
|
if that pattern appears multiple times on a line, use the global option:
if you want to restrict it to certain lines, for example that start with "info":
You can use the
If you don't do that you can do this equivalent operation
|
|||
|
|