You are not logged in.
Why does this work:
f="find ."
$f
And this not?
f="find . -name '*'"
$f
In the first working case I get something from find.
In the second gives nothing. It have nothing to do with dash/minus since f="find . -type f" works fine.
Offline
Seems to be the same with:
NAME="-name '*'"
find . $NAME
Offline
Seems like it have something to do with this: http://serverfault.com/questions/707269 … n-variable
Offline
Please use the edit button instead of repeatedly bumping your topic.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline