Category:Ed: Difference between revisions
Content deleted Content added
Shuffle the command line args for memorability |
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 |
cat script.ed | ed -lEGs file.in |
||
</syntaxhighlight> |
</syntaxhighlight> |
||