Do not use tabs in /etc/init.d/[script]

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Do not use tabs in /etc/init.d/[script]

Alexey Bearded
Dear Developers and Maintainers,

Please, do not use tabs for indentation in init.d scripts.

It can make your scripts a bit more readable for all users.

Thank you!

Reply | Threaded
Open this post in threaded view
|

Re: Do not use tabs in /etc/init.d/[script]

Patrick Matthäi-3
Am 02.03.2012 16:01, schrieb Alexey Bearded:
> Dear Developers and Maintainers,
>
> Please, do not use tabs for indentation in init.d scripts.
>
> It can make your scripts a bit more readable for all users.

I am writing init scripts in Debian with tabs, so on: s/all/some/

Cheers.


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]
Archive: http://lists.debian.org/4F50E649.9070901@...

Reply | Threaded
Open this post in threaded view
|

Re: Do not use tabs in /etc/init.d/[script]

Samuel Thibault-8
In reply to this post by Alexey Bearded
Alexey Bearded, le Fri 02 Mar 2012 17:01:25 +0200, a écrit :
> Please, do not use tabs for indentation in init.d scripts.
>
> It can make your scripts a bit more readable for all users.

Why?

Samuel


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]
Archive: http://lists.debian.org/20120302153330.GD3605@...

Reply | Threaded
Open this post in threaded view
|

Re: Do not use tabs in /etc/init.d/[script]

martin f krafft
also sprach Samuel Thibault <[hidden email]> [2012.03.02.1633 +0100]:
> > It can make your scripts a bit more readable for all users.
>
> Why?

Please, let's not get into this debate.

--
 .''`.   martin f. krafft <[hidden email]>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
the unix philosophy basically involves
giving you enough rope to hang yourself.
and then some more, just to be sure.

digital_signature_gpg.asc (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

OT Re: Do not use tabs in /etc/init.d/[script]

Marcin Kulisz (kuLa)
In reply to this post by Alexey Bearded
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 02/03/12 15:01, Alexey Bearded wrote:
> Dear Developers and Maintainers,
>
> Please, do not use tabs for indentation in init.d scripts.
>
> It can make your scripts a bit more readable for all users.
>
> Thank you!

Dear Alexey,
please stop using html in your emails.

Thank you!

- --

|_|0|_|                                          |
|_|_|0|         "Heghlu'Meh QaQ jajVam"          |
|0|0|0|         -------- kuLa ---------          |

gpg --keyserver pgp.mit.edu --recv-keys 0x58C338B3
3DF1 A4DF C732 4688 38BC  F121 6869 30DD 58C3 38B3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJPUO5kAAoJEGhpMN1YwzizPw0QAMNiAkNFzvujndh7GJiSlDtn
abVoGos3xJwzSye/31SO9L/qxBv92eLNYbxy1jY7zlNwe+zI20lRZNS7KO1DOZ4p
4LEIDfxfnMBPIJLU+2sbEqUZjPdYTllANhAdlWlu+jPYPjvyDMxPYISBbW8a5DXd
t4/ctZYtBTVjtQdtzJ/+mplhPijFj0CFvstHHf5rOmE899Y/62ThRoEl6wyD6z6X
f91Csrmip+JFpSwZ+v/C+b5uW1cyzBW3KQavBrxKtodEF9zEERQcLixXno+6qq0D
ZpI6z1iNd7MmdrU3t1yj2GHsczcn8oxlHo40ytRUCdUsFdNwPnWGeGf8kGhH+DRw
ZWMTRjGFtp1Arat7Mx6NM+1pJrymh+ikveXYxcQFIxsu1Zx+Vq3q8YB9gadF/DgK
F4Qf/63Qbo3eSfxE84A2jD69D3BrPyYM0ziZ8qsY19Rfc75sBVns+EShLdnQxEFg
mDige/UiDosYhnVyO4B4irTKE0nZLqjLQ+luDnt6LL1pFhvom2JYt2Kp4NIT6A80
9vWiVkSE2n25E7gE5by3P2sD3x/PS5RZqZ9EdnqSkChCHy0XGun4IlbrUDMFRbho
5nFReWcy1ng+fjPzEz+CI69ZPvJifly4fTtQhGyeiUoVPIfXBJ8TMTHHv6dWLkIQ
SU+2jgam0HnoqNSPnLu8
=PJ7N
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]
Archive: http://lists.debian.org/4F50EE64.9090405@...

Reply | Threaded
Open this post in threaded view
|

Re: Do not use tabs in /etc/init.d/[script]

Salvo Tomaselli-3
In reply to this post by martin f krafft
In data Friday 02 March 2012 16:38:37, martin f krafft ha scritto:
> also sprach Samuel Thibault <[hidden email]> [2012.03.02.1633 +0100]:
> > > It can make your scripts a bit more readable for all users.
> >
> > Why?
>
> Please, let's not get into this debate.
so let's obey some unkown person, for unknown reasons? Yeah sounds reasonable.

--
Salvo Tomaselli

signature.asc (853 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Do not use tabs in /etc/init.d/[script]

Philipp Kern-4
On 2012-03-02, Salvo Tomaselli <[hidden email]> wrote:
>> Please, let's not get into this debate.
> so let's obey some unkown person, for unknown reasons? Yeah sounds
> reasonable.

Could you please stop feeding the troll, thanks.

Kind regards
Philipp kern


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]
Archive: http://lists.debian.org/slrnjl2aha.t2u.trash@...

Reply | Threaded
Open this post in threaded view
|

Re: Do not use tabs in /etc/init.d/[script]

Alexey Bearded
Sorry guys,

I really think that scripts can looks better without tabs (or without spaces where should be tabs), but I realized that it is simply impossible to get one style for scripts.
Even in *skeleton* almost everywhere used tabs, but in few places (where should be tabs) — spaces.

I was wrong that asked you do this thing.

Sorry for my english.

Thank you all for what you doing and let's forget about this idea.


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]
Archive: http://lists.debian.org/4F9258B5-2BBC-45DA-8E83-4BE902A4368B@...