Skip to content

files starting with u number does not accept valid solution #146

@codesinthedark

Description

@codesinthedark

basename -a $(find . -type f) | grep ^[0-9]
is not accepted as a solution but it outputs the same lines as accepted solution: ls -R|grep ^[0-9]|grep -v dir

Only difference that the lines are in different order and in the exercise it is not specified that we need a specific order. For example ls -U would not work because it traverses the files in directory order.

Also the accepted solution should not be accepted because if directories do not contain "dir" it would not work while basename -a $(find . -type f) | grep ^[0-9] would work.

Edit: not an issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions