Category:Ed: Difference between revisions

From Rosetta Code
Content added Content deleted
(Mention the conventional way to run Ed script.)
(Mention H for diagnostics)
Line 12: Line 12:
cat script.ed | ed -Es file.input > file.output
cat script.ed | ed -Es file.input > file.output
</syntaxhighlight>
</syntaxhighlight>

There's a convention of starting every script with capital H on a line of its own, to toggle more verbose error messages on.


[[Category:Editor]]
[[Category:Editor]]

Revision as of 15:46, 18 June 2024

This page is a stub. It needs more information! You can help Rosetta Code by filling it in!
Language
Ed
This programming language may be used to instruct a computer to perform a task.
See Also:


Listed below are all of the tasks on Rosetta Code which have been solved using Ed.

This is the command language used by wp:ed_(software), the line oriented text editor.

Implementations are GNU Ed, Plan 9 Ed, BSD ed, and original UNIX ed. Ed is also a precursor to a whole family of other text editors and command languages. Including Sed, ex, vi, vim, sam, and others.

Ed scripts are usually ran as

cat script.ed | ed -Es file.input > file.output

There's a convention of starting every script with capital H on a line of its own, to toggle more verbose error messages on.