[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Re: tbl--Failure to Open File
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] Re: tbl--Failure to Open File |
Date: |
Sun, 08 Aug 2004 18:41:51 +0200 (CEST) |
> > > If tbl can't open a file, it calls error() rather than fatal().
> > > Is this what is intended? How can it continue if there are no
> > > data?
> >
> > Good question. What's the bevaviour of AT&T tbl?
>
> Does this answer your question?
>
> ------------------------------
> kairos:~> uname -a
> SunOS kairos 5.8 Generic_108528-18 sun4u sparc SUNW,UltraAX-i2
> kairos:~> which tbl
> /usr/bin/tbl
> kairos:~> tbl </dev/null; echo $?
> 0
> kairos:~> tbl /dev/null ; echo $?
> .ds f. /dev/null
> 0
> kairos:~> tbl /foobar ; echo $?
> .ds f. /foobar
>
> /foobar: line 1: Can't open file
> tbl quits
> 1
> kairos:~>
> ------------------------------
I've now made GNU tbl behave similarly: It will abort if a file can't
be opened.
Werner
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Groff] Re: tbl--Failure to Open File,
Werner LEMBERG <=