-
Notifications
You must be signed in to change notification settings - Fork 2.1k
64-bit hex numbers are not supported for use by the fmt command #14521
Copy link
Copy link
Closed
Labels
status:needs-triageAn issue that hasn't had any proper lookAn issue that hasn't had any proper look
Milestone
Description
Describe the bug
64-bit entered hex values are not considered as numbers, hence error 0xffffffffffffffef | fmt is neither a Nushell built-in or a known external command
How to reproduce
- run
-17 | fmtto have output -> | lowerhex │ 0xffffffffffffffef - copy the output and run back
0xffffffffffffffef | fmt - Catch error "
0xffffffffffffffefis neither a Nushell built-in or a known external command" - Remove last bit and try again ->
0xffffffffffffffe | fmt - get normal working -> | display │ 1152921504606846974
Expected behavior
command 0xffffffffffffffef | fmt should have output -> | display | -17
Configuration
| key | value |
|---|---|
| version | 0.100.0 |
| major | 0 |
| minor | 100 |
| patch | 0 |
| branch | |
| commit_hash | 30f98f7 |
| build_os | windows-x86_64 |
| build_target | x86_64-pc-windows-msvc |
| rust_version | rustc 1.80.1 (3f5fd8dd4 2024-08-06) |
| rust_channel | 1.80.1-x86_64-pc-windows-msvc |
| cargo_version | cargo 1.80.1 (376290515 2024-07-16) |
| build_time | 2024-11-13 03:41:33 +00:00 |
| build_rust_channel | release |
| allocator | mimalloc |
| features | default, sqlite, trash |
| installed_plugins |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status:needs-triageAn issue that hasn't had any proper lookAn issue that hasn't had any proper look