File: E042_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 (15 lines) | stat: -rw-r--r-- 174 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function hello {
    local foo=$(ls)
}

function hello_too {
    local foo=`ls`
}

function hello_with_quotes {
    local foo="$(ls)"
    local bar="`ls`"
}

hello
hello_too