t / chainlint / cuddled.teston commit Merge git://ozlabs.org/~paulus/gitk (0e94f7a)
   1# LINT: first subshell statement cuddled with opening "("; for implementation
   2# LINT: simplicity, "(..." is split into two lines, "(" and "..."
   3(cd foo &&
   4        bar
   5) &&
   6
   7# LINT: same with missing "&&"
   8(cd foo
   9        bar
  10) &&
  11
  12# LINT: closing ")" cuddled with final subshell statement
  13(
  14        cd foo &&
  15        bar) &&
  16
  17# LINT: "(" and ")" cuddled with first and final subshell statements
  18(cd foo &&
  19        bar) &&
  20
  21# LINT: same with missing "&&"
  22(cd foo
  23        bar)