Evaluate expression inside another evaluation - bash script
Feb 06, 2009, 18:49 (1 Talkback[s])
"Lets discuss an example to see the good use of $( ) in bash
shell.
"#Suppose 'offsetno' variable is set to 9 $ offsetno=9
"#Number of *.sh files under my directory (/tmp/mydir) is 29
"$ ls /tmp/mydir/*.sh | wc -l
"29"
Complete Story
Related Stories:

