version=pmwiki-2.2.130 ordered=1 urlencoded=1 agent=Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 author=mkf charset=UTF-8 csum=ED IS STANDARD EDITOR! ctime=1624607357 host=198.251.81.133 name=Openbsd.Ed rev=1 targets= text=ed is a simple editor, which can used where usage of a terminal is not supported, or visual editors (such as vi) are not avaliable.%0a# examples%0aopening a file:%0a[@%0a$ ed file%0a@]%0a%0ausing a custom prompt:%0a[@%0a$ ed -p 'ed> ' file%0a@]%0a%0ausing ed without noise, suitable for usage on scripts:%0a[@%0a$ ed -s file%0a@]%0a%0a# ed commands%0aa means append, for adding text into the end of your file.%0ap means print, to show the file you are editing.%0an same as p, but shows with line numbers.%0ae can used for editing files, if you have not opend them using [@ ed file @] time=1624607357 author:1624607357=mkf csum:1624607357=ED IS STANDARD EDITOR! diff:1624607357:1624607357:=1,22d0%0a%3c ed is a simple editor, which can used where usage of a terminal is not supported, or visual editors (such as vi) are not avaliable.%0a%3c # examples%0a%3c opening a file:%0a%3c [@%0a%3c $ ed file%0a%3c @]%0a%3c %0a%3c using a custom prompt:%0a%3c [@%0a%3c $ ed -p 'ed> ' file%0a%3c @]%0a%3c %0a%3c using ed without noise, suitable for usage on scripts:%0a%3c [@%0a%3c $ ed -s file%0a%3c @]%0a%3c %0a%3c # ed commands%0a%3c a means append, for adding text into the end of your file.%0a%3c p means print, to show the file you are editing.%0a%3c n same as p, but shows with line numbers.%0a%3c e can used for editing files, if you have not opend them using [@ ed file @]%0a\ No newline at end of file%0a host:1624607357=198.251.81.133