File: subshell.sh

package info (click to toggle)
zshdb 0.04%2Bgit20100102-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,924 kB
  • ctags: 241
  • sloc: sh: 5,097; lisp: 885; makefile: 306
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