Searched hist:254806 (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.0-release/tools/regression/bin/sh/expansion/
H A Darith13.0254806 Sat Aug 24 18:07:45 MDT 2013 jilles sh: Reject ++ and -- in arithmetic.

POSIX does not require ++ and -- in arithmetic. It is probably more useful
to reject them than to treat ++x and --x as x silently.

Note that the behaviour of increment and decrement can be obtained via
(x+=1), ((x+=1)-1), (x-=1) and ((x-=1)+1).

PR: bin/176444
/freebsd-10.0-release/bin/sh/
H A Darith_yylex.cdiff 254806 Sat Aug 24 18:07:45 MDT 2013 jilles sh: Reject ++ and -- in arithmetic.

POSIX does not require ++ and -- in arithmetic. It is probably more useful
to reject them than to treat ++x and --x as x silently.

Note that the behaviour of increment and decrement can be obtained via
(x+=1), ((x+=1)-1), (x-=1) and ((x-=1)+1).

PR: bin/176444

Completed in 166 milliseconds