bramkok / boil Goto Github PK
View Code? Open in Web Editor NEWScaffolding tool
License: MIT License
Scaffolding tool
License: MIT License
The GNU and macOS versions of sed
each handle the -i
option different. This option replaces content in files and edits the files 'in place'. An optional argument for -i
creates backups of the original files with its value used as the backup filename suffix.
With the GNU version, ommitting the argument for -i
will save changes directly to file whereas the macOS version seems to require an argument to function correctly. When an empty value is supplied as an argument no backups will be made.
sed -i -e ...
- does not work on OS X as it creates -e backupssed -i'' -e ...
- does not work on OS X 10.6 but works on 10.9+sed -i '' -e ...
- not working on GNUUsing an empty value as an argument for -i
produces errors when using the GNU version:
sed: can't read : No such file or director
Solution
To increase compatibility with both GNU and macOS an argument has to be given and backups files will be made. As there's no value in keeping the backups around, a 'removal' method should purge the filebase after files have been renamed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.