3

I can use cat to display the content of a file in UNIX V7, but I don't know how can I edit the content of a file.

Is there a built-in file editor in UNIX V7?

1 Answer 1

8

The original editors are ed(1) (line-oriented text editor) and sed(1) (stream-oriented text editor). These editors were available from the very beginning.

3
  • Does UNIX V7 also have a built-in hex viewer?
    – user4938
    Apr 21, 2017 at 17:32
  • 3
    Use od -x
    – Mick
    Apr 21, 2017 at 17:38
  • 4
    sed(1) was new in Unix v7; it was not present in v5 or v6. ed(1) has been there since v1 though, and was in PDP-7 Unix as well, so it definitely qualifies as being there from the very beginning.
    – Ken Gober
    Aug 23, 2019 at 13:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .