cmdchallenge icon indicating copy to clipboard operation
cmdchallenge copied to clipboard

just_the_files/ chanlange does not accept

Open GeoRW opened this issue 9 years ago • 1 comments

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

GeoRW avatar Feb 20 '17 15:02 GeoRW

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.

jarv avatar Feb 20 '17 15:02 jarv