Friday, July 20, 2012

Re: Remove spaces and line breaks and make single line wihtout spaces

Am 20.07.2012 11:09 schrieb "vicky b" <vickyb2...@gmail.com>:
> Did that but still spaces in between .
>
> <?xml version="1.0" encoding="UTF-8"?><SupportItem> <ItemInfo>
> <Name>First Name</Name> <Type>INPUTEXT</Type> <Value></Value>
> <Mandatory>true</Mandatory>
> <Description></Description> <ImagePath></ImagePath>
> <MaxLength>100</MaxLength> </ItemInfo> </SupportItem

In case there are spaces before or after the newline:

%s/\s*\n\s*//

Bill

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: