Closed
Description
I was trying to get the version of the rust compiler I have:
rustc -V | cut -d '\(' -f 2 | cut -d ' ' -f 1
The issue is obviously in \(
(was thinking regex) which should be swapped with (
.
And yes, it's a "broken pipe" but I've never seen an application react like this to a wrong command being piped(And it's not rustc who receives something from the pipe, it's another application).
cut: the delimiter must be a single character
Try 'cut --help' for more information.
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
Metadata
Metadata
Assignees
Labels
No labels