News for hackers. Stuff that matters.
Re:Nushell.sh ls | where size > 10mb | sort-by modified by msmart on Sunday March 12, 2023 @03:38PM (#35125135)
I would use

open Cargo.toml | get dependencies | transpose | rename dep version | each { |row| if (($row.version | get -i version | default "" ) != "") { $row.version.version } else { $row.version } }

not sure whether that's the best way.

There are no comments on this comment yet.