sdkman / sdkman-cli

The SDKMAN! Command Line Interface
https://sdkman.io
Apache License 2.0
6.15k stars 632 forks source link

In __sdkman_list_versions() strip EOL whitespace. #1316

Open jaalto opened 1 month ago

jaalto commented 1 month ago

Add sed(1) to clean whitespace at the end of lines (EOL) after a curl(1) call to get a list of versions.

Fixes #XXX