git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG] cg-mkpatch uses non-portable "tac" command
@ 2005-11-21 16:10 Randal L. Schwartz
  2005-11-27 15:08 ` Petr Baudis
  0 siblings, 1 reply; 2+ messages in thread
From: Randal L. Schwartz @ 2005-11-21 16:10 UTC (permalink / raw)
  To: git


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!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-27 15:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-21 16:10 [BUG] cg-mkpatch uses non-portable "tac" command Randal L. Schwartz
2005-11-27 15:08 ` Petr Baudis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).