undollar
Strip the '$' preceding copy-pasted terminal commands.
undollar is a command‑line utility that removes a leading “$” character from commands copied from documentation or forums before they are executed. When a user pastes a line that begins with the typical prompt symbol, undollar intercepts the input, strips the dollar sign, and runs the remaining command unchanged. This prevents the common “command not found” errors that occur when the prompt symbol is unintentionally included in the pasted text.
The tool is installed globally via npm or yarn and integrates with the shell as a regular command. Once present, it operates transparently; users do not need to invoke it explicitly—any pasted line starting with “$” is automatically corrected. This behavior is achieved by registering “$” as a valid command that simply forwards the rest of the line to the shell.
undollar is intended for developers and system administrators who frequently copy terminal snippets from online sources such as StackOverflow. It addresses the specific inconvenience of stray prompt symbols on Unix‑like systems, allowing a workflow to remain uninterrupted without manual editing of each pasted command.
Reviews
Loading reviews…
Similar apps
Terminals & CLI
strip-json-comments-cli
Strip comments from JSON.
Terminals & CLI
underscore-cli
Utility-belt for hacking JSON and Javascript.
Terminals & CLI
The Fuck
Magnificent app which corrects your previous console command.

Terminals & CLI
uTerminal
A desktop terminal built for day-to-day remote access
Terminals & CLI
strip-css-comments-cli
Strip comments from CSS.

Terminals & CLI
emoji-finder
Quickly find and copy emoji to the clipboard via the command-line.