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.input > file.output
cat script.ed | ed -Es file.in > file.out
</syntaxhighlight>
</syntaxhighlight>