Let's say I have file:
% This is first line
% This is second line
This is content
% This is the end
How can I insert a %
character at the beginning of every line which already starts with %
?
Result:
%% This is first line
%% This is second line
This is content
%% This is the end