| Summary: | pmie does not accept s for seconds | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Marko Myllynen <myllynen> |
| Component: | pcp | Assignee: | Nathan Scott <nathans> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 23 | CC: | brolley, fche, kenj, lberk, mgoodwin, nathans, pcp, scox |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-08-17 06:36:00 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Marko Myllynen
2016-04-14 15:30:48 UTC
Marko, in which context are you looking for "s" as an abbreviation? It works on the command line (-t, -S, -T, -O, etc) just like any other PCP command line tool. In the pmie language, the "units" are reserved keywords "sec" or "second" or "secs" or "seconds" ... I'm reluctant to add "s" to this list because of possible symbol clashes, e.g. an existing rule s = <my_favourite_expression>; would break (that's just the way the pmie lexical scanner works) and if I was persuaded that this was acceptable (which I'm not) it introduces a rat's nest of follow-ons, like "m" for "min", "h" for "hour", ... I'm inclined to suggest this be issue be closed as WONTFIX. (In reply to Ken McDonell from comment #1) > Marko, in which context are you looking for "s" as an abbreviation? In the pmie language. But ... > It works on the command line (-t, -S, -T, -O, etc) just like any other PCP > command line tool. > > In the pmie language, the "units" are reserved keywords "sec" or "second" or > "secs" or "seconds" ... I'm reluctant to add "s" to this list because of > possible symbol clashes, e.g. an existing rule > > s = <my_favourite_expression>; > > would break (that's just the way the pmie lexical scanner works) and if I > was persuaded that this was acceptable (which I'm not) it introduces a rat's > nest of follow-ons, like "m" for "min", "h" for "hour", ... ... this is fair enough, I'll close this one. Thanks. |