mirror of
https://github.com/zsh-users/zsh
synced 2024-10-06 16:09:31 +00:00
48767: docs: $SECONDS: Clarify what types may be set
This commit is contained in:
parent
ccc9cff9e2
commit
2da0d8b52f
|
@ -1,3 +1,8 @@
|
|||
2021-05-03 Daniel Shahaf <d.s@daniel.shahaf.name>
|
||||
|
||||
* 48767: Doc/Zsh/params.yo: docs: $SECONDS: Clarify what types
|
||||
may be set
|
||||
|
||||
2021-04-28 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
||||
|
||||
* 48702: Completion/Unix/Command/_pandoc: do not use cache,
|
||||
|
|
|
@ -845,8 +845,9 @@ will be the value that was assigned plus the number of seconds
|
|||
since the assignment.
|
||||
|
||||
Unlike other special parameters, the type of the tt(SECONDS) parameter can
|
||||
be changed using the tt(typeset) command. Only integer and one of the
|
||||
floating point types are allowed. For example, `tt(typeset -F SECONDS)'
|
||||
be changed using the tt(typeset) command. The type may be changed only
|
||||
to one of the floating point types or back to integer. For example,
|
||||
`tt(typeset -F SECONDS)'
|
||||
causes the value to be reported as a floating point number. The
|
||||
value is available to microsecond accuracy, although the shell may
|
||||
show more or fewer digits depending on the use of tt(typeset). See
|
||||
|
|
Loading…
Reference in a new issue