3 ms·
See also: Rob Pike's sam editor for Plan 9: http://sam.cat-v.org/ http://sam.cat-v.org/ Less commands and a language where "everything is a (huge) string". So
by marttt 4y ago
See also: Rob Pike's sam editor for Plan 9:
http://sam.cat-v.org/ http://sam.cat-v.org/
Less commands and a language where "everything is a (huge) string". So its operations are not limited to lines like in ed. A tutorial of the command language: http://doc.cat-v.org/bell_labs/sam_lang_tutorial/sam_tut.pdf http://doc.cat-v.org/bell_labs/sam_lang_tutorial/sam_tut.pdf
And Pike's introductory paper: http://doc.cat-v.org/plan_9/4th_edition/papers/sam/ http://doc.cat-v.org/plan_9/4th_edition/papers/sam/
All in all, the terseness of the language can be quite addictive. :) http://sam.cat-v.org/cheatsheet/ http://sam.cat-v.org/cheatsheet/