I am trying to use TAIL.EXE version 2.0 under MS-DOS 6.20.  The EXE
comes directly from the djgpp binary distribution archive txt20b.zip .

If I let the output go to the screen, two strange things happen:  I
get one line less than I ask for, and I get an oddball error msg
telling me I'm out of space to write something.  In fact I have plenty
of disk space.  What is the pgm trying to write?

If I redirect > the output to a file, I don't see that error msg, but
I still get one line less than I want (e.g. last 4 lines if the
parameter is -n 5).

Neither problem occurs if the file does not terminate with an EOF char.

C:\>tail -n 5 autoexec.bat
REM whoami

REM Below is switch setting for XM added by XM386
SET XM=/P1
c:/djgpp/bin/tail.exe: write error: No space left on drive (ENOSPC)

C:\>tail -n 5 autoexec.nef
echo.
REM whoami

REM Below is switch setting for XM added by XM386
SET XM=/P1

--
...This msg brought to you by NEIL PARKS      Beachwood, Ohio
 mailto:[EMAIL PROTECTED]       http://www.en.com/users/neparks/


Reply via email to