File: subshell.sh

package info (click to toggle)
zshdb 0.05%2Bgit20101031-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,104 kB
  • sloc: sh: 5,563; makefile: 337
file content (10 lines) | stat: -rw-r--r-- 132 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
# Testing subshell and backtick
x=2
( x='line 3';
  y='line 4' 
) # > /dev/null 2>&1
( 
    x=$(print line 7)
    y='line 8'
)
x=10