[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sort does not use tab as delimiter
From: |
Bob Proulx |
Subject: |
Re: sort does not use tab as delimiter |
Date: |
Sat, 9 Dec 2006 16:41:30 -0700 |
User-agent: |
Mutt/1.5.9i |
The Wanderer wrote:
> I've never used Ctrl-V to paste in Linux except in Mozilla, and frankly,
> I don't think I'd have expected it to work outside of things like
> OpenOffice and so forth (i.e., graphical applications, mostly
> Windows-alikes). I've always used "highlight and middle-click",
> particularly in xterms, and that very definitely does not allow the
> literal entry of tabs into bash.
>
> Actually, I just tested - entered a tab in this mail, copied it with
> Ctrl-C, attempted to paste it into an xterm with Ctrl-V. No result.
You are confusing MS-Windows style cutting and pasting with
bash command line reading of input. They are not related. Put it
right out of your head at this moment!
Bash uses C-v to mean the same thing that it does in vi, to input the
next character verbatim. The old vi man page used to say this:
^V In input mode, ^V quotes the next character to permit
the insertion of special characters (including ESC)
into the file.
Bash uses both C-v and C-q for this purpose. C-v is vi-like and C-q
is emacs-like. In emacs it quotes the next character. However the
tty driver is usually configured to intercept C-q to XON after an XOFF
so most users have learned C-v for this purpose in the bash shell.
Bob
- sort does not use tab as delimiter, DI Oliver Maurhart, 2006/12/09
- Re: sort does not use tab as delimiter, Paul Eggert, 2006/12/09
- Re: sort does not use tab as delimiter, The Wanderer, 2006/12/09
- Re: sort does not use tab as delimiter, Andreas Schwab, 2006/12/09
- Re: sort does not use tab as delimiter, The Wanderer, 2006/12/09
- Re: sort does not use tab as delimiter, Jim Meyering, 2006/12/09
- Re: sort does not use tab as delimiter, Brian Dessent, 2006/12/09
- Re: sort does not use tab as delimiter,
Bob Proulx <=
- Re: sort does not use tab as delimiter, Andreas Schwab, 2006/12/09
- Re: sort does not use tab as delimiter, The Wanderer, 2006/12/10
Re: sort does not use tab as delimiter, DI Oliver Maurhart, 2006/12/10
- Re: sort does not use tab as delimiter, Paul Eggert, 2006/12/10
- Re: sort does not use tab as delimiter, Bauke Jan Douma, 2006/12/10
- Re: sort does not use tab as delimiter, DI Oliver Maurhart, 2006/12/11
- Re: sort does not use tab as delimiter, Bob Proulx, 2006/12/11
- Re: sort does not use tab as delimiter, DI Oliver Maurhart, 2006/12/11
- Re: sort does not use tab as delimiter, Bob Proulx, 2006/12/12
- Re: Re: sort does not use tab as delimiter, Oliver Maurhart, 2006/12/12