nano-devel
[Top][All Lists]
Advanced

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

Re: Global tabgives and spacestotab config option


From: Peter Magnusson
Subject: Re: Global tabgives and spacestotab config option
Date: Thu, 24 Jun 2021 14:07:13 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

On 23/06/2021 11:06, Benno Schulenberg wrote:

      
Thanks but unfortunately it didnt work, spaces never got converted and
no errors.

$ nano.sh this-is-a-test-with-space
$ cat this-is-a-test-with-space
hello                this            is      a  few    or    more       spaces

some                         more space.
You haven't understood.  The script transforms only *leading* spaces
to tabs.  That is: only indentation.  Multiple spaces inside text are
probably meant for alignment, so it's not a good idea to change those.

If you had read the script, you could have told me that the comment
inside it is wrong.  Attached is the script with a correct comment.

Thanks, then I know now.

/Peter


reply via email to

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