A terminal utility that automatically strips 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 accidentally copying the `$` prompt from online code examples, allowing commands to execute correctly without manual editing.
Developers and system administrators who frequently copy-paste terminal commands from documentation, tutorials, or StackOverflow, especially on Unix-like systems.
It eliminates a minor but frequent annoyance with zero configuration, saving time and reducing frustration by seamlessly fixing 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.
Intercepts and strips the leading dollar sign from pasted commands, preventing 'command not found' errors seamlessly, as demonstrated in the README where it executes tar commands without the $.
Works immediately after installation via npm with no additional setup, adhering to a minimalist 'set-and-forget' philosophy outlined in the features.
Runs quietly in the terminal, only affecting commands with a leading $, as shown in the usage example where it processes pasted commands without any user interaction.
Compatible with Unix-like operating systems where $ is a common prompt indicator, making it useful for developers on Linux and macOS, per the key features.
Designed specifically for Unix-like OSes, so it won't work on Windows without compatibility layers like WSL, which isn't addressed in the README, reducing its utility for mixed environments.
Depends on Node.js and npm for installation, adding an external dependency that might not be available or desired in all terminal setups, especially in minimalist or containerized environments.
Modifies commands without user confirmation, which could pose a security risk if users inadvertently paste malicious commands, though it's intended for benign use from trusted sources.