Using the command bellow:
find ./stylesheets/sass/ -maxdepth 1 -type f -regextype posix-egrep -regex '[^_].+\.scss'
I get this:
./stylesheets/sass/_hero.scss
./stylesheets/sass/_article-type.scss
./stylesheets/sass/app.scss
./stylesheets/sass/_footer.scss
./stylesheets/sass/_grid-items.scss
and I wanted just:
./stylesheets/sass/app.scss
so my negation [^_] of underscore, does not work beacuse it tries to match at
the very beginning of a path, I suppose, and not the filename itself.
How to solve this, keeping it flexible enough for any depth of dirs before the actual filename?