Feb 16, 2005 #1 ranjank IS-IT--Management May 9, 2003 176 IN Hi All, Can we source a variable in bash shell script.I know we can source a file in bash shell script. Rgds, RK.
Hi All, Can we source a variable in bash shell script.I know we can source a file in bash shell script. Rgds, RK.
Feb 16, 2005 #2 PHV MIS Nov 8, 2002 53,708 FR A variable containing code ? Take a look at the eval builtin. Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244 Upvote 0 Downvote
A variable containing code ? Take a look at the eval builtin. Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
Feb 16, 2005 #3 xmb Programmer Feb 11, 2005 213 CH the 'source' keyword and therefore '.' does that, see 'help source' . Mac for productivity .. Linux for developement ... Windows for solitaire Upvote 0 Downvote
the 'source' keyword and therefore '.' does that, see 'help source' . Mac for productivity .. Linux for developement ... Windows for solitaire