bug-bash
[Top][All Lists]
Advanced

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

Re: [address@hidden: Re: next-error vs. bash]


From: Chet Ramey
Subject: Re: [address@hidden: Re: next-error vs. bash]
Date: Tue, 21 Dec 2004 09:42:56 -0500

> The characters " line " in the error message make it nonstandard.
> We can easily fix Emacs to recognize that format, but shouldn't
> Bash follow the GNU standard for error messages?
> (See standards.text.)
> 
> Please respond.

The option `gnu_errfmt' enables that style of error message display.
That option was added specifically to address this complaint.

caleb.INS.CWRU.Edu(1)$ ./bash ./x6
./x6: line 3: unset: unbound variable
caleb.INS.CWRU.Edu(1)$ ./bash -O gnu_errfmt ./x6
./x6:3: unset: unbound variable
caleb.INS.CWRU.Edu(1)$ cat x6
set -u

echo $unset

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live...Laugh...Love
Chet Ramey, ITS, CWRU    chet@po.cwru.edu    http://tiswww.tis.cwru.edu/~chet/




reply via email to

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