Search Results

Search: Posts Made By: dexdyne
1,639
Posted By dexdyne
Thanks I knew I'd seen it done somewhere.......
Thanks

I knew I'd seen it done somewhere.... just couldn't google how!

TVM
1,639
Posted By dexdyne
executing a variable assignment in a string
I'm using whatever the scripting is in this copy of busybox ! So not the full boxed set sometimes.


If I do

cmd="echo fred"
$cmd

the system prints "fred"

if I do

cmd="fred=9"
$cmd...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 01:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy