From: Emanuel Berg <moasen@zoho.com>
To: help-gnu-emacs@gnu.org
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 [thread overview]
Message-ID: <yw.86bmqsk41c.fsf@zoho.com> (raw)
In-Reply-To: 87wp9gprde.fsf@fliptop
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
next prev parent reply other threads:[~2017-05-16 19:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-16 16:34 Is it possible to move a column where column on right is variable width Angus Comber
2017-05-16 17:38 ` Kaushal Modi
2017-05-16 19:11 ` Joost Kremers
2017-05-16 19:23 ` Emanuel Berg
2017-05-16 19:32 ` Kaushal Modi
2017-05-16 18:51 ` Tomas Nordin
2017-05-16 19:14 ` Emanuel Berg [this message]
2017-05-16 21:56 ` Tomas Nordin
2017-05-17 1:17 ` Skip Montanaro
2017-05-17 2:05 ` Ben Bacarisse
2017-05-17 6:22 ` Loris Bennett
2017-05-18 6:17 ` hector
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yw.86bmqsk41c.fsf@zoho.com \
--to=moasen@zoho.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).