Category:Ed: Difference between revisions
Content added Content deleted
(Mention Q for force-quit) |
(More details and more conventional in/out file marking) |
||
Line 8: | Line 8: | ||
Including [[Sed]], ex, vi, vim, sam, and others. |
Including [[Sed]], ex, vi, vim, sam, and others. |
||
Ed scripts are usually ran as |
Ed scripts are usually ran as (on the example of [[GNU Ed]]) |
||
<syntaxhighlight lang="bash"> |
<syntaxhighlight lang="bash"> |
||
cat script.ed | ed -Es file. |
cat script.ed | ed -Es file.in > file.out |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
Revision as of 01:47, 22 June 2024
![Language](http://static.miraheze.org/rosettacodewiki/thumb/2/27/Rcode-button-language-crushed.png/64px-Rcode-button-language-crushed.png)
This programming language may be used to instruct a computer to perform a task.
See Also: |
|
---|
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 (on the example of GNU Ed)
cat script.ed | ed -Es file.in > file.out
There's a convention of starting every script with capital H on a line of its own, to toggle more verbose error messages on. And optionally end the script with capital Q to force-quit without saving the changes to file.
Also see Tasks not implemented in Ed
Pages in category "Ed"
The following 41 pages are in this category, out of 41 total.