vi exit status
John Esak
john at valar.com
Sun Jun 17 17:43:58 PDT 2007
> >| Isn't it the exit status of the last command (which I would
> think is the vi
> >| itself, not commands that worked or didn't work inside vi) the
> only thing
> >| one can check... and didn't vi succeed? So, wouldn't you
> expect it to be 0?
> >
> >Not if it conforms to an older Posix standard, as does the vi binary on
> >SCO or Solaris.
>
> Are you saying that if anything one does in a vi editing session
> fails, that it should show as an abnormal termination? If that
> were the case, I doubt that I could ever get out of an editing
> session without an error of some kind.
>
> Bill
> --
> INTERNET: bill at Celestial.COM Bill Campbell; Celestial Software LLC
Me either... :-)
JE
More information about the Filepro-list
mailing list