-
Notifications
You must be signed in to change notification settings - Fork 2.1k
0o[777] is not working #9566
Copy link
Copy link
Closed
Labels
A:parserIssues related to parsingIssues related to parsing
Milestone
Description
Describe the bug
It's an octal number, 511 in decimal. 0o[7] and 0o[77] work fine, but for 0o[777], nushell says "executable was not found"
0o[7777], 0o[77777], ... do not work.
How to reproduce
Type 0o[777]
Expected behavior
Supposed to be interpreted as a octal number (in binary type), but the shell tries to find an executable named 0o[777].
Screenshots
No response
Configuration
| key | value |
|---|---|
| version | 0.82.0 |
| branch | |
| commit_hash | |
| build_os | linux-x86_64 |
| build_target | x86_64-unknown-linux-gnu |
| rust_version | rustc 1.70.0 (90c541806 2023-05-31) |
| rust_channel | stable-x86_64-unknown-linux-gnu |
| cargo_version | cargo 1.70.0 (ec8a8a0ca 2023-04-25) |
| build_time | 2023-06-29 15:52:43 +09:00 |
| build_rust_channel | release |
| allocator | standard |
| features | default, sqlite, trash, which, zip |
| installed_plugins |
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A:parserIssues related to parsingIssues related to parsing