File: E011_bad.sh

package info (click to toggle)
python-bashate 2.1.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 380 kB
  • sloc: python: 743; sh: 202; makefile: 22
file content (14 lines) | stat: -rw-r--r-- 162 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

if [ 0 ]
then
    zero
elif [ 1 ]
then
    one
else
    default
fi

# if else fi in one line
if [ 0 ]; then run_morethings; else run_otherthings; fi