delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/22/21:18:00

To: djgpp AT delorie DOT com
Subject: Re: Text editors
Message-ID: <19970122.180301.4975.1.chambersb@juno.com>
References: <32D332BD DOT AAD AT dmv DOT com> <5bv885$s42 AT pulp DOT ucs DOT ualberta DOT ca> <5c0ko5$c2q AT pulp DOT ucs DOT ualberta DOT ca>
From: chambersb AT juno DOT com (Benjamin D Chambers)
Date: Wed, 22 Jan 1997 21:04:07 EST

On Tue, 21 Jan 1997 23:14:15 GMT bdarnell AT vnet DOT net (Ben Darnell) writes:
>DOS edit does this on a line-by-line basis.  If you don't change a
>line, it is saved to the file exactly as it was (i.e. with tabs
>intact).  However, if you change a line, it converts tabs to spaces on
>that line.  unexpand (one of the textutils) will convert 

In my experience, Edit will only convert tabs to spaces (in the file, not
on the screen) if you actually edit those spaces on the screen.  When
I've edited the lines of makefiles that started with TAB's, the makefiles
were still valid - so the tab must have stayed.

...Chambers

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019