From: "Martin Langhoff" <martin.langhoff@gmail.com>
To: "Johannes Schindelin" <Johannes.Schindelin@gmx.de>
Cc: "Josh Triplett" <josh@freedesktop.org>,
"Junio C Hamano" <junkio@cox.net>,
git@vger.kernel.org
Subject: Re: [PATCH v2] Remove useless uses of cat, and replace with filename arguments or redirection
Date: Fri, 8 Jun 2007 22:42:44 +1200 [thread overview]
Message-ID: <46a038f90706080342j3a5bb7abv58c78d7b532e29de@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0706070506230.4046@racer.site>
On 6/7/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> Things like that are known to happen, and that's why "wc -l < file" is a
> better fix than "wc -l file | tr -dc 0-9". In this case, it might not
> matter for a long time, but why not stop being sloppy here and now?
Not sure if I'd call is sloppy, but I also prefer wc -l < file -- it's
definitely safer.
cheers,
m
next prev parent reply other threads:[~2007-06-08 10:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-06 4:36 [PATCH v2] Remove useless uses of cat, and replace with filename arguments or redirection Josh Triplett
2007-06-07 2:09 ` Junio C Hamano
2007-06-07 2:23 ` Josh Triplett
2007-06-07 2:52 ` Junio C Hamano
2007-06-07 4:06 ` Johannes Schindelin
2007-06-08 10:42 ` Martin Langhoff [this message]
2007-06-08 12:52 ` Johannes Schindelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46a038f90706080342j3a5bb7abv58c78d7b532e29de@mail.gmail.com \
--to=martin.langhoff@gmail.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=josh@freedesktop.org \
--cc=junkio@cox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).