A terminal utility that automatically removes the leading dollar sign from pasted commands to prevent errors.
undollar is a Node.js-based command-line tool that automatically removes the leading dollar sign ($) from pasted terminal commands, preventing 'command not found' errors. It solves the common problem of copying commands from online sources like StackOverflow that include the prompt symbol, ensuring they run correctly without manual editing.
Developers and system administrators who frequently copy-paste terminal commands from documentation, tutorials, or forums, especially on Unix-like systems.
It eliminates a frequent minor annoyance with zero configuration, saving time and reducing frustration by seamlessly handling malformed pasted commands without user intervention.
undollar eats the dollar sign in the command you just pasted into your terminal
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Undollar intercepts pasted commands starting with '$' and removes it, preventing 'command not found' errors, as demonstrated in the README with tar command examples.
After a simple global npm install, it works immediately without any setup, aligning with its 'set-and-forget' philosophy mentioned in the features.
It runs quietly in the background, only noticeable when it prevents an error, ensuring no distraction from normal terminal use, as highlighted in the README.
Designed specifically for Unix-like systems, it's useless on Windows or environments with different prompt symbols, limiting its cross-platform appeal.
By automatically executing pasted commands without confirmation, it could run malicious code if users paste from untrusted sources, with no safeguards mentioned in the README.
Requires Node.js and npm for installation, adding overhead and making it unsuitable for minimal or secured environments without these tools.