Re: How to expand tabs? Where is expand program.

2015-07-02 Thread Warren Young
On Jul 2, 2015, at 6:46 PM, Warren Young wrote: > > expand(1) goes way, way back before Cygwin. Not as far back as V7 Unix. > Maybe 4.3BSD? I did some research, and it turns out that that’s all wrong. :) According to the FreeBSD/Mac OS X man pages, expand(1) was first introduced in 3BSD (19

Re: How to expand tabs? Where is expand program.

2015-07-02 Thread Warren Young
On Jul 2, 2015, at 6:46 PM, Warren Young wrote: > > Say :set expandtab. Now you don’t need expand(1) at all. :) Ooops, Ernie’s answer made me look deeper, and it’s a bit more complicated. I forget because I’ve wrapped it up into a couple of macros which I keep in my ~/.vimrc file: function

Re: How to expand tabs? Where is expand program.

2015-07-02 Thread Ernie Rael
I hit too quickly... There's also vim's ":retab" command. -ernie On 7/2/2015 4:14 PM, Richard Heintze wrote: There used to be a very handy cygwin program called expand for expanding tabs into spaces. Now I cannot find it on the nice installation GUI (setup_x86_64.exe). I tried searching th

Re: How to expand tabs? Where is expand program.

2015-07-02 Thread Ernie Rael
On 7/2/2015 4:14 PM, Richard Heintze wrote: There used to be a very handy cygwin program called expand for expanding tabs into spaces. Now I cannot find it on the nice installation GUI (setup_x86_64.exe). $ cygcheck -f /usr/bin/expand.exe coreutils-8.15-3 Probably out of date, but I'd guess i

Re: How to expand tabs? Where is expand program.

2015-07-02 Thread Warren Young
On Jul 2, 2015, at 5:14 PM, Richard Heintze wrote: > > There used to be a very handy cygwin program called expand for expanding tabs > into spaces. expand(1) goes way, way back before Cygwin. Not as far back as V7 Unix. Maybe 4.3BSD? > I tried searching the archives for it but there were t

How to expand tabs? Where is expand program.

2015-07-02 Thread Richard Heintze
There used to be a very handy cygwin program called expand for expanding tabs into spaces. Now I cannot find it on the nice installation GUI (setup_x86_64.exe). I tried searching the archives for it but there were too many hits for other topics ("expand" is a common word, apparently). Has th