help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is it possible to move a column where column on right is variable wi


From: Emanuel Berg
Subject: Re: Is it possible to move a column where column on right is variable width
Date: Tue, 16 May 2017 21:14:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Tomas Nordin wrote:

> Here is a suggestion using GNU sed
>
> C-x h mark-whole-buffer C-u M-|
> shell-command-on-region (with prefix to output
> in buffer)
>
> then yank this as the shell command sed -E
> 's/(.+)\t(.+)/\2\t\1/'
>
> and hope there was no tabs in
> the description.

How big is the buffer? Often one can do such
edits manually pretty quickly. Get some work on
your finger habits/muscle memory in the
bargain. May come in "hand"y :)

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

[Prev in Thread] Current Thread [Next in Thread]