Git Product home page Git Product logo

safepatch's People

Contributors

progerxp avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

rsepulvedacl

safepatch's Issues

File header: add/patch files unless/if exist; add value-converting params

Enhance file header with the following syntax (square braces mark optional code):

== [+] [?] [[bin base64 etc:XXX ...]] file/name.* [==]

+ - if present, will create a new file which contents is given instead of patch instructions (after the header)

? - if present, patching won't fail if the target file didn't (no '+') or did (with '+') exist

[...] - a set of Value-converting parameters (https://github.com/ProgerXP/SafePatch/blob/master/docs/Syntax.md#Value_convertions) that:

  • in adding mode (with '+') they will be applied to the file contents following the header - can be used to add binary files
  • in patching mode (no '+') they will be added to all instructions in that file block - for example, useful if the file being patched uses non-UTF-8 encoding thus adding [enc:koi8-r] to the file header will autoconvert all values into KOI8-R

See also Syntax: https://github.com/ProgerXP/SafePatch/blob/master/docs/Syntax.md

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.