ed
Verified for current stable LTS
Ed Command: Interactive Replace String All Lines
Use for interactive replace string all lines with Ed. Exact CLI syntax to interactive replace string all lines using Ed.
When to use this: Use for interactive replace string all lines with Ed.
Command Syntax
,s/<regex>/<replacement>/g ,s/<regex>/<replacement>/g Command Breakdown
,s/<regex>/<replacement>/g is the base executable for this command.
FAQ
Purpose: Exact syntax to interactive replace string all lines using Ed.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.