Re: ed.ex
- Posted by DonCole Jul 24, 2012
- 964 views
K_D_R said...
mattlewis said...
DonCole said...
Now I get line 1 of 3, column 13 of 13, modified
What does that mean?
My code is
puts(1,"uuu")
I haven't used ed.ex in a while, but it sounds like you need to save your file.
Matt
first it means that the cursor is on line 1 column 13, and as Matt indicated, the file has been modified and not saved. Entering "ESC + w" will "write" or save the file and keep the document you are editing open. The file will also be saved when you enter the execute command, "ESC + e". ESC + s will save the file and quit the editor.
Once you get used to ed.ex's simple commands, you can do most operations very quickly.
I hope this helps.
I want to thank everybody of your help.
I changed my code to
puts(1,"uuu") puts(1,vv)
I get ok.
Shouldn't I get vv has not been declared?
Don Cole