File: jo.23.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 (10 lines) | stat: -rw-r--r-- 213 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
# disable creation of null-valued keys

${JO:-jo} foo=
${JO:-jo} -n foo=
${JO:-jo} foo=1 bar= baz=3
${JO:-jo} -n foo=1 bar= baz=3
nothing=
${JO:-jo} list[]=1 list[]=$nothing
${JO:-jo} -n list[]=1 list[]=$nothing