bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: [gawk-stable] bug: fatal error when getline from directory


From: Eli Zaretskii
Subject: Re: [gawk-stable] bug: fatal error when getline from directory
Date: Sun, 04 Jan 2009 18:59:22 +0200

> Date: Sun, 4 Jan 2009 11:11:01 +0100
> From: Paolo <address@hidden>
> Cc: address@hidden, Aharon Robbins <address@hidden>,
>       address@hidden, address@hidden
> 
> > POSIX 2008 states that awk is only required to operate on text files, and
> > a directory does not qualify as a text file:
> > http://www.opengroup.org/onlinepubs/9699919799/utilities/awk.html
> > 
> > Therefore, you can define gawk to do whatever you would like, as a
> > compliant client will never ask gawk to read a directory.
> 
> I disagree, the definition of 'text file' is rather broad/vague [1]

The definition may be ``broad/vague'', but everybody knows what is a
text file: it's a file that contains human-readable text.  Directories
don't count.




reply via email to

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