Giter VIP home page Giter VIP logo

Comments (7)

andreyorst avatar andreyorst commented on June 19, 2024 1

from kaktree.

andreyorst avatar andreyorst commented on June 19, 2024

Hi, can you be more specific on which tools are non-posix? It requires Perl, and ls with posix keys.

from kaktree.

AndreiSva avatar AndreiSva commented on June 19, 2024

@andreyorst -B is not defined by POSIX, and is not present on a lot of popular alternative coreutils such as busybox.

from kaktree.

andreyorst avatar andreyorst commented on June 19, 2024

@AndreiSva I've fixed the typo 😄. Are there any actual errors on BSD or busybox systems?

from kaktree.

AndreiSva avatar AndreiSva commented on June 19, 2024

-b is still not defined by POSIX and doesn't work on busybox ls or OpenBSD ls, couldn't test on other coreutils. You can see a list of all portable ls options here.

from kaktree.

andreyorst avatar andreyorst commented on June 19, 2024

hmm -b can be worked around, I guess non-graphic characters are rare in files, though this needs more testing.

from kaktree.

andreyorst avatar andreyorst commented on June 19, 2024

Alternatively we could gather the directory list with Perl, but this would require some reimplementation of the build_tree subroutine

from kaktree.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.