Created
January 22, 2010 16:03
-
-
Save jonatas/283869 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
quero alterar uma linha que começa com: | |
FROM tabela | |
para transformar em: | |
FROM | |
tabela | |
para buscar a sintaxe no vim: | |
/^FROM \(.*\)\(\n\) | |
depois é só substituir usando: | |
:%s/FROM \2\1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment