[Top][All Lists]

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

Re: [Nano-devel] 1.1.99pre1test, Pico Mode and history

From: David Benbennick
Subject: Re: [Nano-devel] 1.1.99pre1test, Pico Mode and history
Date: Thu, 9 Jan 2003 17:51:13 -0500
User-agent: Mutt/1.2.5i

On Sun, Jan 05, 2003 at 05:42:07PM -0800, Chris Allegretta wrote:
> - Spelling.  The leaking fds issue aside, both DB's implementation and
> my own do not seem to gracefully handle "sort" not being in the PATH. 
> I'm starting to wonder if this is a problem with my dist (debian) or
> kernel, because exit(system("sort -f </dev/null")) is returning 0 on my
> box, when sort is not in the path.  Hmm.

As you pointed out, it seems to be a "feature" that the shell returns 0 in
this case.  Anyway, I think your version works correctly.  If spell does
not exist, Nano shows an error message
        Spell checking failed: Error invoking "spell"

Attachment: pgpiUgQlqFsz9.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]