~ubuntu-branches/ubuntu/trusty/devscripts/trusty-updates

« back to all changes in this revision

Viewing changes to test/bashisms/arith.sh.out

  • Committer: Package Import Robot
  • Author(s): Benjamin Drung
  • Date: 2013-02-18 22:27:33 UTC
  • mfrom: (10.9.22 experimental)
  • Revision ID: package-import@ubuntu.com-20130218222733-7krtkqzko32xte0z
Tags: 2.13.0ubuntu1
* Merge from Debian experimental. Remaining changes:
  - Convert python scripts to python3. (Closes: #680313)
    Debian bug #695259 needs to be fixed to get the change into Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
possible bashism in bashisms/arith.sh line 7 ('$((n++))' should be '$n; $((n=n+1))'):
 
2
echo $((n-m++)) # BASHISM
 
3
possible bashism in bashisms/arith.sh line 8 ('$((++n))' should be '$((n=n+1))'):
 
4
echo $((++m))   # BASHISM
 
5
possible bashism in bashisms/arith.sh line 9 ('$((n--))' should be '$n; $((n=n-1))'):
 
6
echo $(( m-- )) # BASHISM
 
7
possible bashism in bashisms/arith.sh line 10 ('$((--n))' should be '$((n=n-1))'):
 
8
echo $((--m))   # BASHISM
 
9
possible bashism in bashisms/arith.sh line 13 ('$((n++))' should be '$n; $((n=n+1))'):
 
10
echo $((foo_bar++)) # BASHISM
 
11
possible bashism in bashisms/arith.sh line 17 ('$((n++))' should be '$n; $((n=n+1))'):
 
12
echo $((2*n++)) # BASHISM
 
13
possible bashism in bashisms/arith.sh line 19 ('$((n++))' should be '$n; $((n=n+1))'):
 
14
echo $(($n*n++)) # BASHISM
 
15
possible bashism in bashisms/arith.sh line 21 (exponentiation is not POSIX):
 
16
echo $((3**2)) # BASHISM