Git Product home page Git Product logo

aproname's Introduction

aproname

Summary

Detect invalid and problematic pathname lengths and patterns, accounting for both unix-like and Microsoft OSes.

Restrictions include:

  1. POSIX Portable Filename Character Set,

  2. ustar pathname length restrictions,

  3. MS-DOS and Microsoft Windows restrictions,

  4. additional restrictions to avoid common usability problems.

Invalid pathnames are printed to STDOUT with a summary of problems for each name.

Usage

Check pathnames given as arguments:

aproname pathname…​

Check the pathnames in a directory tree:

find path…​ -exec aproname {} +

Check pathnames from STDIN:

…​ | xargs -I {} aproname {}

…​ | xargs -0 aproname

Exit Status

The script returns exit code 1 if any problematic patterns are found. Otherwise it returns exit code 0.

aproname's People

Contributors

crolsma avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

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.