File: jo.27.sh

package info (click to toggle)
jo 1.9-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 612 kB
  • sloc: ansic: 1,914; sh: 566; makefile: 60; exp: 42
file content (6 lines) | stat: -rw-r--r-- 188 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
# user-friendly errors
${JO:-jo} b[]=1 b[]=2
${JO:-jo} b[]=1 b[a]=3 2>&1 || echo "Test 2 should fail"

${JO:-jo} d[m]=10 d[n]=20
${JO:-jo} d[m]=10 d[]=20 2>&1 || echo "Test 4 should fail"