Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-18 Thread Stephane Chazelas
2020-02-18 11:31:54 +0100, Joerg Schilling: [...] > There is an official and documented way already, call: > > time -p command1 | command2 > > The time utility in POSIX requires to use the -p option to be specified. > Otherwise, the results are unspecified. > &g

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-18 Thread Joerg Schilling
Geoff Clare wrote: > Treating time something like select and [[ would be an alternative way > around the problem. What you suggest for "use of the time utility" is > not quite right, though. Use of the time _reserved_word_ should be as > you say - unspecified unles

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-18 Thread Robert Elz
Date:Tue, 18 Feb 2020 11:31:54 +0100 From:Joerg Schilling Message-ID: <5e4bbd1a.ixp7vvhraxdcl4i4%joerg.schill...@fokus.fraunhofer.de> | There is an official and documented way already, call: | | time -p command1 | command2 That's nice, but

[1003.1(2016)/Issue7+TC2 0001253]: clarify that "alternative time" means tm_isdst is positive

2019-06-03 Thread Austin Group Bug Tracker
Submitted: 2019-06-03 16:36 UTC Last Modified: 2019-06-03 19:01 UTC == Summary:clarify that "alternative time" means

[1003.1(2016)/Issue7+TC2 0001253]: clarify that "alternative time" means tm_isdst is positive

2019-06-03 Thread Austin Group Bug Tracker
Submitted: 2019-06-03 16:36 UTC Last Modified: 2019-06-03 16:36 UTC == Summary:clarify that "alternative time" means tm_isdst is positive Description: In the tz mailing list (see, e.g., &

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-18 Thread Robert Elz
Date:Tue, 18 Feb 2020 14:50:50 +0100 From:Joerg Schilling Message-ID: <5e4bebba.XCR/ahv7oqvibm+7%joerg.schill...@fokus.fraunhofer.de> | If you like to get the previous POSIX behavior, call: | | time -p some-command | | This is what POSIX did requ

[1003.1(2016)/Issue7+TC2 0001253]: clarify that "alternative time" means tm_isdst is positive

2019-07-01 Thread Austin Group Bug Tracker
Submitted: 2019-06-03 16:36 UTC Last Modified: 2019-07-01 20:47 UTC == Summary:clarify that "alternative time" means

[Online Pubs 0001581]: “time” vs. Korn Shell flavours

2022-04-26 Thread Austin Group Bug Tracker via austin-group-l at The Open Group
:2.4 == Date Submitted: 2022-04-26 15:51 UTC Last Modified: 2022-04-26 15:51 UTC == Summary:“time” vs. Korn Shell

[1003.1(2016/18)/Issue7+TC2 0001788]: The meaning of "Daylight Saving Time" should be clarified

2023-11-17 Thread Austin Group Bug Tracker via austin-group-l at The Open Group
:The meaning of "Daylight Saving Time" should be clarified Description: The term "Daylight Saving Time" is used in a number of places in the specification. In much of the world, it refers to the time during the summer when clocks are turned forward from standard tim

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-18 Thread Joerg Schilling
Stephane Chazelas wrote: > 2020-02-18 11:31:54 +0100, Joerg Schilling: > [...] > > There is an official and documented way already, call: > > > > time -p command1 | command2 > > > > The time utility in POSIX requires to use the -p option to be speci

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-18 Thread Stephane CHAZELAS
2020-02-18 14:50:50 +0100, Joerg Schilling: [...] > There however is a shell that has massive problems: "zsh". > zsh cannot time functins or builtins at all Zsh's "time" keyword reports *process* resource usage (for each component of the timed pipeline). If ther

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-18 Thread shwaresyst
lt;5e4bbd1a.ixp7vvhraxdcl4i4%joerg.schill...@fokus.fraunhofer.de>   | There is an official and documented way already, call:   |   |     time -p command1 | command2 That's nice, but in a POSIX compatible shell (the FreeBSD shell in this case) fbsh $ time() { command time -p "$@"

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-17 Thread Robert Elz
e been amended to allow the ksh88 behaviour at that time. The end | result would be the same, just the timing would be different. That might or might not be correct, it is impossible to say now - after all "select" was known at the time, and not standardised, my guess is that the reserved w

[1003.1(2016/18)/Issue7+TC2 0001788]: The meaning of "Daylight Saving Time" should be clarified

2023-11-22 Thread Austin Group Bug Tracker via austin-group-l at The Open Group
:The meaning of "Daylight Saving Time" should be clarified == Relationships ID Summary -- related to 0001253 clarify that "a

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-17 Thread Geoff Clare
> | We need a formal interpretation saying that there is a defect in > | the standard in order for those systems not to have to remove the > | time keyword from their "sh" shells. Once we say that there is a > | defect in the standard, we have to fix it. > > Let m

[1003.1(2004)/Issue 6 0000267]: time (keyword)

2022-10-07 Thread Austin Group Bug Tracker via austin-group-l at The Open Group
Priority: normal Status: Under Review Name: Don Cragun Organization: User Reference: Section:time Page Number:916-919 Line Number:35505-35633 Interp Status

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-19 Thread Geoff Clare
have been amended to allow the ksh88 behaviour at that time. The end > | result would be the same, just the timing would be different. > > That might or might not be correct, it is impossible to say now - after > all "select" was known at the time, and not standardised,

Minutes of the 15th July 2019 Teleconference

2019-07-17 Thread Andrew Josey
http://austingroupbugs.net/view.php?id=1234 We agreed this item is still undergoing some discussions on the reflector and we will revisit status at the next meeting. Bug 1253: clarify that "alternative time" means tm_isdst is positive Accepted as Marked http://austingroupbugs.net/view.ph

[1003.1(2016)/Issue7+TC2 0001253]: clarify that "alternative time" means tm_isdst is positive

2019-07-15 Thread Austin Group Bug Tracker
Submitted: 2019-06-03 16:36 UTC Last Modified: 2019-07-15 15:19 UTC == Summary:clarify that "alternative time" means

[1003.1(2016)/Issue7+TC2 0001253]: clarify that "alternative time" means tm_isdst is positive

2019-07-15 Thread Austin Group Bug Tracker
Submitted: 2019-06-03 16:36 UTC Last Modified: 2019-07-15 15:19 UTC == Summary:clarify that "alternative time" means

[1003.1(2016/18)/Issue7+TC2 0001531]: time: follow-up to issue #1440

2021-10-30 Thread Austin Group Bug Tracker via austin-group-l at The Open Group
Priority: normal Status: New Name: steffen Organization: User Reference: Section:time Page Number:3299 Line Number:111068-111069 Interp Status

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-19 Thread Joerg Schilling
Stephane Chazelas wrote: > Note that AT&T ksh and bosh revert to calling the standalone > time utility in that case so they can't be used to time > builtin/functions. Well, if you enforce to implement the old POSIX behavior, you get what the old POSIX definition says: timin

Re: [1003.1(2016/18)/Issue7+TC2 0001614]: XSH 3/mktime does not specify EINVAL and should

2022-12-08 Thread Don Cragun via austin-group-l at The Open Group
Robert & Geoff have been arguing about whether or not giving a struct tm to mktime() that specifies a time in the gap between standard time and daylight time is allowed to be treated as an error (assuming that the seconds since the Epoch would otherwise fit in a time_t). Robert is arguing

Re: [1003.1(2016/18)/Issue7+TC2 0001614]: XSH 3/mktime does not specify EINVAL and should

2022-11-23 Thread Robert Elz via austin-group-l at The Open Group
(you will have seen from my earlier reply here today, that the tzdata error will be corrected) - but it really just boils down to this. | Okay, let's examine the text in C89/C90: | | The mktime function converts the broken-down time, expressed as | local time, in the str

Re: [1003.1(2016/18)/Issue7+TC2 0001614]: XSH 3/mktime does not specify EINVAL and should

2022-11-24 Thread Geoff Clare via austin-group-l at The Open Group
t as a courtesy) of the longer message, as it seems to be the crux of the matter. > | Okay, let's examine the text in C89/C90: > | > | The mktime function converts the broken-down time, expressed as > | local time, in the structure pointed to by timeptr into a

[1003.1(2016/18)/Issue7+TC2 0001614]: XSH 3/mktime does not specify EINVAL and should

2023-07-25 Thread Austin Group Bug Tracker via austin-group-l at The Open Group
-- The following is a suggested resolution which just covers the originally raised issue of the allowed behaviour for "non-existent" times and the function's error handling. The side-issue of how the conversion from broken-do

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-25 Thread Robert Elz
go. No grammar changes are required at all. But: | and adding the time reserved | word on top of the pipefail changes instead. That is what cannot be done. We cannot at this late stage reverse the decision of the original standard not to make time a required reserved word - making it eve

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-25 Thread Robert Elz
orrect. That doesn't mean that a new keyword couldn't produce output, which is what time does, and if it did, its output would logically get redirected along with that of the commands it runs (which would be then subjected to their own more specific redirections, as the fantasy examples I ga

[1003.1(2016/18)/Issue7+TC2 0001788]: The meaning of "Daylight Saving Time" should be clarified

2023-11-20 Thread Austin Group Bug Tracker via austin-group-l at The Open Group
:The meaning of "Daylight Saving Time" should be clarified == Relationships ID Summary -- related to 0001253 clarify that "a

Re: [1003.1(2016)/Issue7+TC2 0001345]: date(1) default format

2020-07-21 Thread J William Piggott
. This is one of the areas where the C standard can be considered broken, leaving Time Zone handling unspecified. As a backwards compatibility matter changing the tm struct to accommodate time zone info properly is not indicated, by either standard. It breaks too much code that relies on the current

Re: [1003.1(2016)/Issue7+TC2 0001345]: date(1) default format

2020-07-12 Thread J William Piggott
-- The POSIX locale default date format:%a %b %e %H:%M:%S %Z %Ycontains two pieces of information beyond the minimum of date and time required for other locales: the day name (%a) and the time zone (%Z). Most implementations include these in the default date output

[1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-03-05 Thread Austin Group Bug Tracker
Priority: normal Status: Under Review Name: Don Cragun Organization: User Reference: Section:time Page Number:916-919 Line Number:35505-35633 Interp Status

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-25 Thread shwaresyst
The thing is, various shells have implemented time as keyword, so this bug is trying to get the standard to reflect actual practice that ignored that Rationale. The debate is more some things allowed to utilities aren't allowed for keywords, and vice versa, so there are advantages to both

Re: [1003.1(2016/18)/Issue7+TC2 0001614]: XSH 3/mktime does not specify EINVAL and should

2022-11-28 Thread Geoff Clare via austin-group-l at The Open Group
culates seconds since the Epoch as specified in XBD 4.16 > | then applies a timezone adjustment of 5 hours and (depending on tm_isdst > | and the specified date and time) a seasonal adjustment of 1 hour (with > | implementation-defined start and end times, but we can eliminate that &

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-15 Thread Chet Ramey
On 2/14/20 5:19 PM, Robert Elz wrote: > It is not that I have anything against a time reserved word, though > being a reserved word rather than a builtin, or special builtin does > make it impossible to redirect (as has been noted) and also raises > questions as to what exactly happ

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-17 Thread Robert Elz
ed a formal interpretation saying that there is a defect in | the standard in order for those systems not to have to remove the | time keyword from their "sh" shells. Once we say that there is a | defect in the standard, we have to fix it. Let me interpret that, and see if I understand co

[1003.1(2008)/Issue 7 0001271]: clock_nanosleep() TIMER_ABSTIME: if rmtp is non-NULL, set it to clock_id's time value when returning.

2019-07-20 Thread Austin Group Bug Tracker
16:50 UTC == Summary:clock_nanosleep() TIMER_ABSTIME: if rmtp is non-NULL, set it to clock_id's time value when returning. Description: Assuming clock_id is a valid and supported clock, if TIMER_ABSTIME i

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-24 Thread Robert Elz
t is a likely choice for an existing script, function or alias name. I don't think anything with time in its name would be right anyway, as I said earlier (much more information is typically available than that, and even if it was not to be required, a name that better suited the complete commo

Re: [Issue 8 drafts 0001776]: find -newer any symlinks

2023-12-14 Thread Stephane Chazelas via austin-group-l at The Open Group
2023-11-20 17:30:32 +, Austin Group Bug Tracker via austin-group-l at The Open Group: [...] > On page 2920 line 97596 section find (-newer), change:The > primary shall evaluate as true if the modification time of the current file > is more recent than the modification time of the f

Re: [1003.1(2016)/Issue7+TC2 0001345]: date(1) default format

2020-07-12 Thread shwaresyst
, leaving Time Zone handling unspecified. As a backwards compatibility matter changing the tm struct to accommodate time zone info properly is not indicated, by either standard. It breaks too much code that relies on the current definition of the tm_year and tm_isdst fields. The people that can

Re: [1003.1(2016/18)/Issue7+TC2 0001614]: XSH 3/mktime does not specify EINVAL and should

2022-11-25 Thread Harald van Dijk via austin-group-l at The Open Group
X requires | that mktime() calculates seconds since the Epoch as specified in XBD 4.16 | then applies a timezone adjustment of 5 hours and (depending on tm_isdst | and the specified date and time) a seasonal adjustment of 1 hour (with | implementation-defined start and end times,

[1003.1(2016/18)/Issue7+TC2 0001788]: The meaning of "Daylight Saving Time" should be clarified

2024-01-11 Thread Austin Group Bug Tracker via austin-group-l at The Open Group
:The meaning of "Daylight Saving Time" should be clarified == Relationships ID Summary -- related to 0001253 clarify that "a

[1003.1(2016)/Issue7+TC2 0001253]: clarify that "alternative time" means tm_isdst is positive

2019-07-01 Thread Austin Group Bug Tracker
Submitted: 2019-06-03 16:36 UTC Last Modified: 2019-07-01 19:53 UTC == Summary:clarify that "alternative time" means

[1003.1(2016/18)/Issue7+TC2 0001614]: XSH 3/mktime does not specify EINVAL and should

2022-11-03 Thread Austin Group Bug Tracker via austin-group-l at The Open Group
this. It is possible for the broken down local time passed to mktime() to represent a time that never existed (eg: a time in the gap (most commonly hour) when summer time commences, and the clock skips forward from NN:59 to PP:00 (usually, gaps shorter than an hour exist, but for our purposes her

Re: [1003.1(2016)/Issue7+TC2 0001345]: date(1) default format

2020-07-21 Thread shwaresyst
s where the C standard can be considered broken, > leaving Time Zone handling unspecified. As a backwards compatibility matter > changing the tm struct to accommodate time zone info properly is not > indicated, by either standard. It breaks too much code that relies on the > current definition

[1003.1(2016/18)/Issue7+TC2 0001788]: The meaning of "Daylight Saving Time" should be clarified

2023-11-22 Thread Austin Group Bug Tracker via austin-group-l at The Open Group
:The meaning of "Daylight Saving Time" should be clarified == Relationships ID Summary -- related to 0001253 clarify that "a

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2022-10-08 Thread Geoff Clare via austin-group-l at The Open Group
id=267#c5990 > -- > Suggested changes ... [...] > [...] to:When > time is used in any of the following circumstances, via a simple > command for which the word time is the command name (see [xref to > 2.9.1.1]), and none of the characters in the word time is quoted, > the re

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-17 Thread Geoff Clare
ndard requires (probably all of them). We need a formal interpretation saying that there is a defect in the standard in order for those systems not to have to remove the time keyword from their "sh" shells. Once we say that there is a defect in the standard, we have to fix it. So what I would sug

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-24 Thread Geoff Clare
Robert Elz wrote, on 24 Feb 2020: > > But we really do not need to defer bug 267 until all that is worked out, > this will take a long time, as not only do we need a proposal, we need > implementation experience, and then application use to verify it is > suitable, and should

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-15 Thread Robert Elz
Date:Sat, 15 Feb 2020 17:56:36 -0500 From:Chet Ramey Message-ID: <17c5318a-a4f7-8bd8-8792-c1ad4d82b...@case.edu> | The only reason to specify it as a reserved word is to time pipelines. Yes, that much I understood, at least the intent. | You can time bu

[1003.1(2016/18)/Issue7+TC2 0001614]: XSH 3/mktime does not specify EINVAL and should

2022-11-03 Thread Austin Group Bug Tracker via austin-group-l at The Open Group
-- I'm sure this has been discussed at least once before, but on the mailing list not in Mantis. When the specified time does not exist because it is in the gap created by the change to daylight saving time and tm_isdst is -1, mktime() i

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-18 Thread Chet Ramey
light before those systems were certified, the standard would > | have been amended to allow the ksh88 behaviour at that time. The end > | result would be the same, just the timing would be different. > > That might or might not be correct, it is impossible to say now - after > a

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-18 Thread Robert Elz
Date:Tue, 18 Feb 2020 09:58:32 -0500 From:Chet Ramey Message-ID: <22f16ef4-41cf-60b0-5968-f608dc988...@case.edu> | The 1992 version of the standard knew about time, standardized it as part | of the UPE, and acknowledged that it worded the definition to all

Minutes of the 27th July 2023 Teleconference

2023-07-28 Thread Andrew Josey via austin-group-l at The Open Group
etation is required. Interpretation response: The standard clearly states that when an unsuccessful call to mktime() returns (time_t)-1 it sets errno to [EOVERFLOW], and conforming implementations must conform to this. Rationale: The RETURN VALUE section on the mktime() page states: If the time

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-16 Thread Chet Ramey
On 2/15/20 9:42 PM, Robert Elz wrote: > Date:Sat, 15 Feb 2020 17:56:36 -0500 > From:Chet Ramey > Message-ID: <17c5318a-a4f7-8bd8-8792-c1ad4d82b...@case.edu> > > | The only reason to specify it as a reserved word is to time pipelines.

[1003.1(2016)/Issue7+TC2 0001252]: Extend TZ to allow times outside 00-24 range, permanent DST

2019-06-28 Thread Austin Group Bug Tracker
-- Assuming bug http://austingroupbugs.net/view.php?id=1253 is accepted, the changes should be ... On page 280 line 5945 section 8.3, change:The time has the same format as offset except that no leading sign ('-' or '+&

Minutes of the 11th January 2024 Teleconference

2024-01-12 Thread Andrew Josey via austin-group-l at The Open Group
light Saving Time" should be clarified Accepted as Marked https://austingroupbugs.net/view.php?id=1788 This item is marked for TC1-2024. It was noted that the resolution of this bug should just address the missing definitions. Any additional changes related to tzname[] etc. should be the su

Re: [1003.1(2016/18)/Issue7+TC2 0001614]: XSH 3/mktime does not specify EINVAL and should

2022-11-24 Thread Robert Elz via austin-group-l at The Open Group
n XBD 4.16 | then applies a timezone adjustment of 5 hours and (depending on tm_isdst | and the specified date and time) a seasonal adjustment of 1 hour (with | implementation-defined start and end times, but we can eliminate that | by including a rule in the TZ value). There is nothing u

stty min/time are "used in non-canonical mode input processing (icanon)"

2022-10-16 Thread наб via austin-group-l at The Open Group
Hi! Issue 8 Draft 2.1 states what follows. 108150 min number 108151Set the value of MIN to number. MIN is used in non-canonical mode input processing 108152(icanon). 108153 time number 108154Set the value of TIME to number. TIME is used in non-canonical mode input processing

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-25 Thread Robert Elz
Date:Tue, 25 Feb 2020 17:47:23 + (UTC) From:shwaresyst Message-ID: <1701159045.321204.1582652843...@mail.yahoo.com> | The thing is, various shells have implemented time as keyword, so this bug | is trying to get the standard to reflect actual practic

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-18 Thread Joerg Schilling
Robert Elz wrote: > | There is an official and documented way already, call: > | > | time -p command1 | command2 > > That's nice, but in a POSIX compatible shell (the FreeBSD shell in > this case) > > fbsh $ time() { command time -p "$@"; } The

Re: [1003.1(2016/18)/Issue7+TC2 0001614]: XSH 3/mktime does not specify EINVAL and should

2022-12-16 Thread Geoff Clare via austin-group-l at The Open Group
hat care would need to be taken to add using the > correct units, but an implementation could provide a specification to > allow programs to discover what the precision actually is. I may have misled you a little in the way I worded a previous email. It's not the time_t type itself that you can&#

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-18 Thread Chet Ramey
On 2/18/20 10:36 AM, Robert Elz wrote: > Date:Tue, 18 Feb 2020 09:58:32 -0500 > From:Chet Ramey > Message-ID: <22f16ef4-41cf-60b0-5968-f608dc988...@case.edu> > > | The 1992 version of the standard knew about time, standardized it as part

Re: [Issue 8 drafts 0001776]: find -newer any symlinks

2023-12-18 Thread Don Cragun via austin-group-l at The Open Group
), change:The >> primary shall evaluate as true if the modification time of the current file >> is more recent than the modification time of the file named by the pathname >> file.to:The primary shall evaluate as true >> if the modification time of the current file is more

Re: [1003.1(2016/18)/Issue7+TC2 0001614]: XSH 3/mktime does not specify EINVAL and should

2022-11-08 Thread Robert Elz via austin-group-l at The Open Group
her summer time applies or not (except that it insists on calling it by the idiotic US label). | With tm_idsdt=-1 it will only change on the rare occasions when | the calculated time is in the gap. Nonsense. mktime() allows for out of range values for all of the (then existing) fields of exce

[Issue 8 drafts 0001613]: XSH 3/mktime was not updated by the resolution of bug 1533, but should have been (++)

2022-11-10 Thread Austin Group Bug Tracker via austin-group-l at The Open Group
#c6049 -- Change lines 43850-43854 from:The mktime() function shall convert the broken-down time, expressed as local time, in the structure pointed to by timeptr, into a time since the Epoch value with the same encoding as that of

Re: [1003.1(2016/18)/Issue7+TC2 0001614]: XSH 3/mktime does not specify EINVAL and should

2022-11-08 Thread Geoff Clare via austin-group-l at The Open Group
in the > standard (C or POSIX) is there anything which actually says this > is supposed to happen. All it says about mktime() with tm_isdst = -1 > is that it attempts to work out whether summer time applies or > not (except that it insists on calling it by the idiotic US label). We a

Re: [1003.1(2016/18)/Issue7+TC2 0001614]: XSH 3/mktime does not specify EINVAL and should

2022-12-13 Thread Geoff Clare via austin-group-l at The Open Group
o be adding timegm() now. It is too late to add timegm() in Issue 8. It will automatically get added in Issue 9 as that will (presumably) align with C23 or later. > | By a strict reading, you may be right, but it is strongly implied by > | "shall be set to represent the specified

[History digging] What were the standardization criteria for multi-threading synchronization primitives?

2017-11-02 Thread Danny Niu
Given the wide variaty of synchronization primitives available in the theoretical field, what was POSIX's criteria for standardization at the time for pthread and real-time option groups' interfaces? Are there examples of and rationales for synchronization primitives being exc

[1003.1(2013)/Issue7+TC1 0001051]: stderr redirection of the "time" utility

2017-06-08 Thread Austin Group Bug Tracker
: normal Status: Closed Name: Stephane Chazelas Organization: User Reference: Section:"time" utility Page Number:3259 Line Number:109327 Int

[Issue 8 drafts 0001613]: XSH 3/mktime was not updated by the resolution of bug 1533, but should have been (++)

2022-11-03 Thread Austin Group Bug Tracker via austin-group-l at The Open Group
specification of mktime() says (lines 43850-4) The mktime( ) function shall convert the broken-down time, expressed as local time, in the structure pointed to by timeptr, into a time since the Epoch value with the same encoding as that of the values returned by time( ). The original

[1003.1(2016)/Issue7+TC2 0001345]: date(1) default format

2020-07-02 Thread Austin Group Bug Tracker
-- The POSIX locale default date format:%a %b %e %H:%M:%S %Z %Ycontains two pieces of information beyond the minimum of date and time required for other locales: the day name (%a) and the time zone (%Z). Most implementations include these in the

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-18 Thread Robert Elz
Date:Tue, 18 Feb 2020 11:31:54 +0100 From:Joerg Schilling Message-ID: <5e4bbd1a.ixp7vvhraxdcl4i4%joerg.schill...@fokus.fraunhofer.de> | There is an official and documented way already, call: | | time -p command1 | command2 That's actually s

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-03-05 Thread Robert Elz
unspecified results, because Usage: is a word that is the concatenation of a name and a colon. That kind of thing should be fixed whatever else happens, and as making time back being an unspecified reserved word means changes all around that area (and ideally we need a method to introduce new reserved wor

Re: [1003.1(2016/18)/Issue7+TC2 0001614]: XSH 3/mktime does not specify EINVAL and should

2022-11-07 Thread Geoff Clare via austin-group-l at The Open Group
net/view.php?id=1614#c6031 > > I know this: > > A negative value for tm_isdst shall cause mktime() to attempt to > determine > whether Daylight Savings Time is in effect for the specified time. > > and what your note says about it, but note that it says "attempt to &

[Issue 8 drafts 0001776]: find -newer any symlinks

2023-11-20 Thread Austin Group Bug Tracker via austin-group-l at The Open Group
-- On page 2920 line 97596 section find (-newer), change:The primary shall evaluate as true if the modification time of the current file is more recent than the modification time of the file named by the pathname file.to:The primary shall evaluate as true if the modification time of the

[1003.1(2016/18)/Issue7+TC2 0001627]: XSH 3 / mktime() is woefully underspecified

2023-08-07 Thread Austin Group Bug Tracker via austin-group-l at The Open Group
-- Suggested resolution ... On page 113 line 3186 section 4.16 Seconds Since the Epoch, change:The relationship between the actual time of day and the current value for seconds since the Epoch is unspecified.to:The relationship between the actual date and time in Coordinated

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-25 Thread shwaresyst
No keyword, on its own, presently in the standard is required to produce output that may be redirected. What redirections are permitted apply to utilities used with those keywords, not the keywords themselves, and this is where the conflict appears - does a stderr redirect with time as a

[1003.1(2013)/Issue7+TC1 0001051]: stderr redirection of the "time" utility

2017-06-08 Thread Austin Group Bug Tracker
: Editorial Priority: normal Status: Closed Name: Stephane Chazelas Organization: User Reference: Section:"time" utility Page Number:3259 Line Number:1093

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-24 Thread Robert Elz
ded now for that is the details. A month seems like a reasonable time to clean that up. | If your and Chet's new proposal looks promising, we will likely | abandon the current direction Now I am back to thinking that you are expecting something new within a month, and that's unre

[1003.1(2016/18)/Issue7+TC2 0001788]: The meaning of "Daylight Saving Time" should be clarified

2023-11-23 Thread Austin Group Bug Tracker via austin-group-l at The Open Group
:The meaning of "Daylight Saving Time" should be clarified == Relationships ID Summary -- related to 0001253 clarify that "a

[1003.1(2016/18)/Issue7+TC2 0001586]: timeout - new utility: run a command with a time limit

2022-05-14 Thread Austin Group Bug Tracker via austin-group-l at The Open Group
== Summary:timeout - new utility: run a command with a time limit Description: As of today it is very complicated to reliably run a program from within a sh(1)ell with a timeout, a sh(1)ell can only hardly kill a child after a timeout without introducing a race, as shown in

Re: [1003.1(2016/18)/Issue7+TC2 0001614]: XSH 3/mktime does not specify EINVAL and should

2022-11-22 Thread Geoff Clare via austin-group-l at The Open Group
ov 2022: > From:"Geoff Clare via austin-group-l at The Open Group" > > > You seem to be of the opinion that mktime()'s prime purpose is to allow > people to increment time fields, and get a time_t back. Almost as if > that is its only use. Of course I am

Draft minutes of the 30 January 2020 Teleconference

2020-01-31 Thread Geoff Clare
ot supported in the locale, the string shall be empty. On page 162 line 5150 section 7.3.5.2 LC_TIME C-Language Access, change: AM_STR The appropriate ante-meridiem affix. PM_STR The appropriate post-meridiem affix. T_FMT_AMPM The appropriate time representation in the 12-ho

[1003.1(2016)/Issue7+TC2 0001252]: Extend TZ to allow times outside 00-24 range, permanent DST

2019-06-02 Thread Austin Group Bug Tracker
21:37 UTC == Summary:Extend TZ to allow times outside 00-24 range, permanent DST Description: The tzdb project is a widely-used extension to POSIX, and represents the history of a time zone partly via a final POSIX TZ string represent

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-18 Thread Chet Ramey
On 2/18/20 5:31 AM, Joerg Schilling wrote: > All shells I am aware detect the -p option in the parser already and switch > to > the time utility instead of the time keyword. Bash doesn't do that; it's not useful and difficult to do using a bison- based parser. -- ``Th

Re: [1003.1(2004)/Issue 6 0000267]: time (keyword)

2020-02-18 Thread Chet Ramey
On 2/18/20 9:59 AM, Robert Elz wrote: > Why someone would want to time a builtin I'm not sure > (with the possible exception of elapsed time of wait) There are people on the bash mailing lists who would like a word. -- ``The lyf so short, the craft so long to lerne.&

Re: [1003.1(2016/18)/Issue7+TC2 0001614]: XSH 3/mktime does not specify EINVAL and should

2022-12-06 Thread Robert Elz via austin-group-l at The Open Group
() as well. | This has been a lengthy thread and I have been assuming that if I | quoted something from the standard earlier in the thread I don't need | to quote it again. Sorry, but I, and I expect everyone else, doesn't have the time to go back and reread all of your previou

Re: [1003.1(2016/18)/Issue7+TC2 0001614]: XSH 3/mktime does not specify EINVAL and should

2022-12-20 Thread Robert Elz via austin-group-l at The Open Group
tself that you can't do arithmetic on, No, not misled, I knew what you meant, and I understand that arithmetic types allow arithmetic, what matters is whether that arithmetic makes sense in context or not. | The description of time() says: | | The time function determines the c

Re: Austin Group WEBEX +1-408-792-6300 PIN 668 216 233

2024-03-12 Thread Robert Elz via austin-group-l at The Open Group
a WEBEX meeting on 18-Mar-2024 at 11:00 America/New_York (I cut/pasted the actual date & time, for this particular invitation, from the calendar info.) Or even better if it gave the time in UTC, so "at 15:00 UTC" - or whatever it is this week. Note that the calls are anchored to US Eas

[1003.1(2016)/Issue7+TC2 0001307]: am_pm value in locales that do not distinguish between am and pm (again)

2020-01-30 Thread Austin Group Bug Tracker
section 7.3.5.2 LC_TIME C-Language Access, change: AM_STR The appropriate ante-meridiem affix. PM_STR The appropriate post-meridiem affix. T_FMT_AMPM The appropriate time representation in the 12-hour clock format with AM_STR and PM_STR.to:AM_STR The appropriate ante-meridiem affix; if

[1003.1(2016/18)/Issue7+TC2 0001586]: timeout - new utility: run a command with a time limit

2022-07-29 Thread Austin Group Bug Tracker via austin-group-l at The Open Group
== Summary:timeout - new utility: run a command with a time limit == -- (0005920) geoffclare (manager) - 2022-07-29 11:03 https

[1003.1(2024)/Issue8 0001840]: Footnote incorrectly says the time utility is in the UP option

2024-07-16 Thread Austin Group Bug Tracker via austin-group-l at The Open Group
:Footnote incorrectly says the time utility is in the UP option Description: In the rationale about command language portability, the time utility has an asterisk after it to indicate it is in the UP option, but it has been moved to the Base. Desired Action: Move the footnote marker from after

Re: [1003.1(2016/18)/Issue7+TC2 0001614]: XSH 3/mktime does not specify EINVAL and should

2022-12-03 Thread Robert Elz via austin-group-l at The Open Group
m with a grain of salt as well. | In this case, it is clear from the use of "any" in "corrected for | timezone and any seasonal time adjustments" that either a seasonal | adjustment is made or the value resulting from the timezone adjustment | is used without making a se

Re: [1003.1(2016/18)/Issue7+TC2 0001614]: XSH 3/mktime does not specify EINVAL and should

2022-12-06 Thread Geoff Clare via austin-group-l at The Open Group
t some random "the standard > says" without any clue what part of it you mean. This has been a lengthy thread and I have been assuming that if I quoted something from the standard earlier in the thread I don't need to quote it again. > | In this case, it is clear from the u

Re: [1003.1(2016)/Issue7+TC2 0001345]: date(1) default format

2020-07-05 Thread J William Piggott
-- The POSIX locale default date format:%a %b %e %H:%M:%S %Z %Ycontains two pieces of information beyond the minimum of date and time required for other locales: the day name (%a) and the time zone (%Z). Most implementations include these in the default date

[1003.1(2016/18)/Issue7+TC2 0001531]: time: follow-up to issue #1440

2022-01-27 Thread Austin Group Bug Tracker via austin-group-l at The Open Group
Priority: normal Status: Resolved Name: steffen Organization: User Reference: Section:time Page Number:3299 Line Number:111068-111069 Interp Status

Re: [1003.1(2016/18)/Issue7+TC2 0001614]: XSH 3/mktime does not specify EINVAL and should

2023-02-09 Thread Geoff Clare via austin-group-l at The Open Group
alues of the tm_wday and tm_yday components of the structure are set appropriately, and the other components are set to represent the specified calendar time, but with their values forced to the ranges indicated above; the final value of tm_mday is not set until tm_mon and tm_year are dete

Minutes of the 10th November 2022 Teleconference

2022-11-11 Thread Andrew Josey via austin-group-l at The Open Group
g for wording on this item. and will start on this next time. Bug 1616: Standardize mktemp utility OPEN https://austingroupbugs.net/view.php?id=1616 We will need a sponsor; it is not suitable for inclusion in Issue 8. ACTION: Eric to ask The Open Group to sponsor adding the mktemp utility (for Is

Re: In defence of compound aliases

2019-01-16 Thread Joerg Schilling
Robert Elz wrote: > I fail to see why any real importance is given to shell speed. The shell speed has a major influence on the execution time for the "configure" scripts. The ksh93 variant that is part of OpenSolaris is e.g. nearly twice as fast (in terms of wall clock ti

  1   2   3   4   5   6   7   8   9   10   >