List:General Discussion« Previous MessageNext Message »
From:zzapper Date:September 23 2004 3:04pm
Subject:Re: A query to swap the data in two fields
View as plain text  
On Thu, 23 Sep 2004 11:03:08 +0100,  wrote:

>Hi,
>
>I want to swap the data in two fields
>
>eg
>  t1.beds to t1.beds2
>and
> t2.beds2 to t1.beds
> do I need to store one of the fields temporarily?

Hey chums you normally get me an answer in minutes, is my question too easy?
zzapper (vim, cygwin, wiki & zsh)
--

vim -c ":%s%s*%CyrnfrTfcbafbeROenzSZbbyranne%|:%s)[R-T]) )Ig|:norm G1VGg?"

http://www.vim.org/tips/tip.php?tip_id=305  Best of Vim Tips

Thread
A query to swap the data in two fieldszzapper23 Sep
  • Re: A query to swap the data in two fieldszzapper23 Sep
Re: A query to swap the data in two fieldsmos23 Sep
  • Re: A query to swap the data in two fieldszzapper23 Sep
Re: A query to swap the data in two fieldsBill Easton24 Sep