Hi

How to modify code so that only one space is between two characters or words?

For example:
- all lines containing the char : followed with zero or more then one space(s) and then in
should become:  <untouched what is here>: in(<untouched what is here>
 aaa : in std_logic;
 bb : in std_logic_vector(7 downto 0);

- all lines containing the word process followed with zero or more then one space(s) and then a (
should become:  <untouched what is here>process (<untouched what is here>

process (clk,reset)
process (clk27)
proc_one : proccess (a,b,c)


Rgds,
Eric

_________________________________________________________________
Mortgage rates near historic lows. Refinance $200,000 loan for as low as $771/month* https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h27f8&disc=y&vers=689&s=4056&p=5117

Reply via email to