![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
A CLI utility to prefix lines fed through the STDIN with its arguments.
$ gem install prefix_with
Imagine deleting all *.txt files from a deeply nested folder structure. xargs
may be the tool that comes to mind - to prefix with the rm
command infront of a filtered list of files, like:
$ find . | grep "*.txt" | xargs rm
The problem I find with this is that, mostly the command breaks because there are spaces in the file names or that there might be a few files that we may require. May be it was better to see the command thats going to get executed prior to execution. If that makes sense, this is the tool that will help in it. I know space issue can be handled, but didn't feel it as an elegant solution.
$ find . | grep "*.txt" | prefix_with rm | sh
I saw this as a small script that one of my friends - Nikhil Mohan was using. Packaging as a gem hoping it would be useful for someone.
FAQs
Unknown package
We found that prefix_with demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.