Category:Ed: Difference between revisions

Content deleted Content added
Aartaka (talk | contribs)
Shuffle the command line args for memorability
Aartaka (talk | contribs)
Remove the out file in CLI example—not always relevant.
Line 10: Line 10:
Ed scripts are usually ran as (on the example of [[GNU Ed]])
Ed scripts are usually ran as (on the example of [[GNU Ed]])
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
cat script.ed | ed -lEGs file.in > file.out
cat script.ed | ed -lEGs file.in
</syntaxhighlight>
</syntaxhighlight>