From: Mike Frysinger <vapier@gentoo.org>
To: Garrett Cooper <yanegomi@gmail.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH] convert linktest.pl to linktest.sh
Date: Tue, 13 Oct 2009 01:43:52 -0400 [thread overview]
Message-ID: <200910130143.53176.vapier@gentoo.org> (raw)
In-Reply-To: <364299f40910122240p586a60aarc796112b68c519e2@mail.gmail.com>
[-- Attachment #1.1: Type: Text/Plain, Size: 715 bytes --]
On Tuesday 13 October 2009 01:40:44 Garrett Cooper wrote:
> On Mon, Oct 12, 2009 at 10:30 PM, Mike Frysinger <vapier@gentoo.org> wrote:
> > On Tuesday 13 October 2009 01:22:02 Garrett Cooper wrote:
> >> + (( lerrors++ ))
> >> + (( i++ ))
> >> + (( TST_COUNT++ ))
> >
> > i think you want:
> > : $(( TST_COUNT += 1 ))
>
> Ok, dumb question again -- $(( TST_COUNT += 1 )) is the POSIX
> compliant method? (( TST_COUNT++ )) works too... (I keep on forgetting
> what's POSIX compliant on this item...).
the form i show is POSIX compliant. afaik, the variant you're using is not as
it lacks a dedicated command and the ++ operator is optional.
-mike
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 399 bytes --]
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
[-- Attachment #3: Type: text/plain, Size: 155 bytes --]
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2009-10-13 5:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-13 5:22 [LTP] [PATCH] convert linktest.pl to linktest.sh Garrett Cooper
2009-10-13 5:30 ` Mike Frysinger
2009-10-13 5:40 ` Garrett Cooper
2009-10-13 5:43 ` Mike Frysinger [this message]
2009-10-14 19:31 ` Garrett Cooper
2009-10-14 19:32 ` Garrett Cooper
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=200910130143.53176.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=ltp-list@lists.sourceforge.net \
--cc=yanegomi@gmail.com \
/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