Git Product home page Git Product logo

bulk's Introduction




rust and pascal programmer, also really interested in demos and esolangs.
Running arch on a Thinkpad P52.



ich nutze arsch bei dem weg

bulk's People

Contributors

felixecker avatar

Stargazers

 avatar

Watchers

 avatar

bulk's Issues

Only read as many bytes as needed to fill one page at a time.

Currently bulk just reads and reads from STDIN in a specified chunk size and allocated more memory as needed. It would be much nicer if it just read as much as it needed to display a page.

  • Calculate base page size
  • Read in n bytes (where n is the base page size)
  • Make show return a status to check if the current page has been filled.
    • If not, read in another n bytes (where n is the base page size)
    • If yes, wait until the user advances the page, meaning that show will once more
      return the not-filled status.

Implement no-color and no-style args.

These two arguments disable colored and styled output. For this a ansi control sequence parser is needed.
I'm currently experimenting with cansid but it seems broken.

Maybe also add a --raw flag which just removes the ESC and replace it with \x1b

Implement regex searching

The final missing feature of bulk is regex searching. For this regex.h from the systems standardlib should be used. Pages should be automatically advanced if the next match does not lie within the current page.

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.