jarv / cmdchallenge

This repo is mirror of https://gitlab.com/jarv/cmdchallenge
https://about.cmdchallenge.com
MIT License
720 stars 72 forks source link

additional solution #147

Open ghost opened 7 years ago

ghost commented 7 years ago

Hello, for the challenge https://cmdchallenge.com/#/remove_files_with_extension - one more possible combination to solve should be: seq 100 | tr '\n' ' ' Thank you for your time.

jarv commented 7 years ago

Thanks for the report. The problem with this solution is that it also gets rid of the very last '\n' which isn't displayed on the web terminal. There is definitely a display bug here as it should give you "... 99 100bash>" to show the last linefeed was removed.

ghost commented 7 years ago

Thank you for the reply and a review John!