Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volker.armin.hemmann@××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Re: star
Date: Wed, 26 Sep 2007 13:38:24
Message-Id: 200709261522.36566.volker.armin.hemmann@tu-clausthal.de
In Reply to: [gentoo-user] Re: Re: star by Alexander Skwar
1 On Mittwoch, 26. September 2007, Alexander Skwar wrote:
2 > Neil Bothwick <neil@××××××××××.uk> wrote:
3 > > On Tue, 25 Sep 2007 15:34:41 +0200, Alexander Skwar wrote:
4 > >> What does this have to do with GNU tar and it adding superflous
5 > >> options? Quite a lot. -j et.al. are non-standard options. If a
6 > >> (badly written) script relies on the presence of -j, this script
7 > >> won't work with a POSIX compliant tar
8 > >
9 > > The script is only badly written if it is supposed to be POSIX
10 > > compliant. Additional features can enhance a program
11 >
12 > Given that we're talking about use of non-standard options present
13 > only in GNU tar vs. easily accessible standard compliant ways
14 > of solving the same problem: No, a script is badly written, if it
15 > makes use of non-standard options.
16
17 a script that is not supposed to be portable to a POSIX-only system, can be
18 written in any way the host system supports. So it is not 'broken' nor 'badly
19 written'. Please calm down. Ok?
20
21 >
22 > > and make scripts
23 > > using it more readable/efficient/compact, providing the environment does
24 > > not require POSIX-compliance. e.g. portage can use tar-specific
25 > > enhancements if tar is in system on all profiles.
26 >
27 > Yes, it's very bad that Gentoo scripts don't limit themselves to
28 > POSIX. Another windmill to fight against.
29 >
30
31 no.
32
33 Please stop that nonesense, ok? Gentoo scripts are gentoo scripts. Not AIX,
34 Solaris or HP-UX scripts (systems who are very arcane in a lot of aspects).
35 So gentoo scripts don't need to be portable, so they don't need to be POSIX
36 compliant. And since gentoo is a linux distribution and almost all linux
37 distributions use the gnu-userland, gnu-compatibility is more than enough for
38 portability to other linux distributions.
39
40 And some last questions: if POSIX is so great, why is there stuff
41 like 'SUS', 'LSB', and why has POSIX many different versions?
42
43
44 --
45 gentoo-user@g.o mailing list