Operating System - HP-UX
1754172 Members
3030 Online
108811 Solutions
New Discussion

Re: Expect script beginners help

 
curt larson_1
Honored Contributor

Re: Expect script beginners help

a quoting hint

variable substitution, command substitution,
and backslash substitution all occur as usual
inside of double quotes.

variable substitution is triggered by a
dollar sign ($) character and causes the
value of a tcl variable to be inserted into
a word.

sent "ll test.raw|awk '{print $5}'"
what is happening to $5