I can use cat as a very simple text editor by doing cat > foo.txt.
If I then type:
bar
baz
and then press ctrl+D, it now looks like this:
$ cat > foo.txt
bar
baz^D
with the cursor at the ^. If I then press it once more the file will get saved. However if I press anything (okay maybe not anything, but mostly anything) else, I just continue to edit the file.
Is this normal behavior?