Aug 21

Editing a file with no tools

So I came across this interesting question on SuperUser yesterday, and it got me thinking… would it be possible to create a full text editor using only standard terminal commands?  That is, could we create a text editor using only standard tools such as shell scripts, sed, awk, grep, etc.  That way it could be completely portable, and not depend on any binaries on the target system.  The only binaries which would be required would be for the standard tools – which should already be installed.

Anyway, that would be cool.