Subject: Re: ed bug??
To: Daniel R. Killoran,Ph.D. <drk@shore.net>
From: Frederick Bruckman <fb@enteract.com>
List: port-mac68k
Date: 08/07/1999 02:53:54
On Fri, 6 Aug 1999, Daniel R. Killoran,Ph.D. wrote:
> Paul Goyette wrote:
>
> >How are you "rebooting" the system?
> >
> >If you just press the reboot button, then NetBSD doesn't have a
> >chance to update the directories on disk... Use "shutdown -r
> >now" or "reboot" commands!
>
> I type:
>
> shutdown now
>
> and wait until it is done (asks me for a shell or CR)
> Then I hit the power button on the back of the machine, then the start
> button on the keyboard.
I always screw up when I'm using "ed". Before :w :q, I like to
double-check the whole file with :1 <CR> <CR> repeatedly.
If there's really a bug in "ed", you should be able to reproduce it
without rebooting: "ed file" "cat file". Lotsa luck.