[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: LI18NUX comments to LSB 0.4.2



Alan Cox <alan@lxorguk.ukuu.org.uk> writes:

> > 6, Lack of Utiliries
> >     The following shell and utilities required for LI18NUX2000 are lacked
> 
> I dont think the LSB should be mandating many of the listed tools. Some of them
> are only relevant to developers for example. And why is vi required. vi is not
> used programatically by another tool so seems outside the lsb remit

char *editor = getenv ("VISUAL");
if (editor == NULL)
  editor = getenv ("EDITOR");
if (editor != NULL)
{
  execl (editor, filename, NULL);
}
else
{
  execl ("vi", filename, NULL);
}

SUS teaches us that we can rely on vi being present.



Reply to: