http://bugs.grommit.com/show_bug.cgi?id=619

           Summary: "tail -r" returns nothing
           Product: ksh93-integration
           Version: unspecified
          Platform: All
        OS/Version: Solaris 11/Nevada
            Status: NEW
          Severity: blocker
          Priority: P3
         Component: App/Other
        AssignedTo: ksh93-integration-discuss at opensolaris.org
        ReportedBy: roland.mainz at nrubsig.org
                CC: roland.mainz at nrubsig.org, ksh93-integration-
                    discuss at opensolaris.org, Milan.Jurik at sun.com


tail(1)'s option is defined like this:
-- snip --
-r, --reverse   Output lines in reverse order.
-- snip --
However the command $ tail -r <foo.txt # (using the AST implementation of
"tail" for /usr/bin/tail and /usr/xpg4/bin/tail) currently returns nothing
because the line count is internally set to |0|.

Patch follows...


-- 
Configure bugmail: http://bugs.grommit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
You are the assignee for the bug, or are watching the assignee.

Reply via email to