Sample Header Ad - 728x90

Line editor ed saves some filenames in single quotes followed by one space

1 vote
2 answers
132 views
I'm following *The Unix Programming Environment* exercises and have encountered some weird issues. While going through the ed exercise, when you just start ed, type in the exercise, then do w poem It saves in the filesystem as 'poem ' I tested another file, start ed, type in some words, w raistlin and it saves as 'raistlin ' with the same result (filename in single quotes followed by one space), though I tested on a third, and if I start off with the file name it saves as a normal file. Has anyone else seen these results? I know it's a little esoteric, I think I'm probably 1 of 7 people on the whole earth using ed this weekend. I'm using Manjaro Arch.
Asked by Mark Scheck (280 rep)
Nov 28, 2020, 08:06 AM
Last activity: Jul 29, 2025, 08:56 AM