Skip to content

Comments

Fix locales with commas in $EPOCHREALTIME and occasional failures#7

Open
loreb wants to merge 2 commits intohopeseekr:trunkfrom
loreb:trunk
Open

Fix locales with commas in $EPOCHREALTIME and occasional failures#7
loreb wants to merge 2 commits intohopeseekr:trunkfrom
loreb:trunk

Conversation

@loreb
Copy link

@loreb loreb commented Sep 9, 2024

Sorry the history is a bit messy, I'm on a computer without github tokens and of course I thought it would be faster to just write in the browser than generating one...

Anyway...

  1. the $EPOCHREALTIME fix was borked because that's a readonly variable - fixed
  2. erasing only one leading zero didn't always work, with eg 1234.008 you'll get "008" milliseconds, which becomes "08", which makes bash error out attempting to treat it as an octal number - fixed

Let me know if there's any issue (other than 3 commits instead of 2 :)

Edit: fixed the above, now it's no longer hideous to look at

unprivileged user _lorenzo1 added 2 commits September 10, 2024 21:16
Assignments to EPOCHREALTIME are ignored.
-- bash(1)
Accidentally broken by later commits.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant