[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Global tabgives and spacestotab config option
From: |
Benno Schulenberg |
Subject: |
Re: Global tabgives and spacestotab config option |
Date: |
Wed, 23 Jun 2021 11:06:10 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
Op 22-06-2021 om 13:01 schreef Peter Magnusson:
> 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.
Benno
nano.sh
Description: application/shellscript
OpenPGP_signature
Description: OpenPGP digital signature
- Re: Global tabgives and spacestotab config option, Benno Schulenberg, 2021/06/01
- Re: Global tabgives and spacestotab config option, Benno Schulenberg, 2021/06/04
- Re: Global tabgives and spacestotab config option, pepa65, 2021/06/04
- Re: Global tabgives and spacestotab config option, Benno Schulenberg, 2021/06/04
- Re: Global tabgives and spacestotab config option, Peter Magnusson, 2021/06/08
- Re: Global tabgives and spacestotab config option, pepa65, 2021/06/08
- Re: Global tabgives and spacestotab config option, Peter Magnusson, 2021/06/18
- Re: Global tabgives and spacestotab config option, Benno Schulenberg, 2021/06/19
- Re: Global tabgives and spacestotab config option, Peter Magnusson, 2021/06/22
- Re: Global tabgives and spacestotab config option,
Benno Schulenberg <=
- Re: Global tabgives and spacestotab config option, Peter Magnusson, 2021/06/24
Re: Global tabgives and spacestotab config option, Peter Magnusson, 2021/06/08