git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[BUG] cg-mkpatch uses non-portable "tac" command

From
Randal L. Schwartz <merlyn@stonehenge.com>
Date
Nov 21, 2005, 16:10 UTC
Message-ID
<86r79ayobj.fsf@blue.stonehenge.com>
cg-mkpatch uses "tac" to reverse some lines.  This is not a POSIX command.
Since you already presume Perl, you can replace the use of tac with:
        | perl -e 'print reverse <>' |
-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
Next: Petr Baudis
Message 1 of 2 in “[BUG] cg-mkpatch uses non-portable "tac" command”
  1. Randal L. SchwartzNov 21, 2005
  2. Petr BaudisNov 27, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.