cmdchallenge
cmdchallenge copied to clipboard
just_the_files/ chanlange does not accept
Steps to reproduce
If applicable please provide a direct link to the challenge, example: https://cmdchallenge.com/#/just_the_files
================================================= This is a valid solution but output is not sorted as expected by the website:
ls -A -F -R | grep -v ":" | grep -v "/"
README beatae.flac error.doc libero.xls necessitatibus.doc totam animi.doc corporis.xls odit.doc
========================================== this solution was accepted:
find . -type f -printf '%f\n'
error.doc corporis.xls odit.doc animi.doc necessitatibus.doc totam beatae.flac README libero.xls
Thanks for the bug report, it looks like this command outputs the following when run on the linux host:
# ls -A -F -R | grep -v ":" | grep -v "/"
README
beatae.flac
error.doc
libero.xls
necessitatibus.doc
totam
animi.doc
corporis.xls
odit.doc
The extra blank lines are causing it not to match and not being displayed properly on the jquery terminal.