Use Variables as a function
hi everyone!
i'd like to use 2 or more variables to create a function. for exammple opt1= Find / -type f -name *txt opt2= 2>/dev/null $opt1 $opt2 = opt3 $opt3 (now if i do this i only get my opt1 variable and not opt2 is there a way to get them both?) |
This should do the trick
Hello dellafaille!
You should use double quoting or even single quoting to make your "functions" strings and then simple catenate them Code:
#!/bin/bash Regards, Heraton |
string has to be at least3 charracter
My god!!! I THANK YOU with all my hearth!!!!
i'm soooooo incredibly happy i finnaly got my breakthrue thank you so much Quote:
|
Be my guest...
Hi!
Glad I could help you. I assume your question is solved now. Please mark this thread as solved in your thread options. You might even give reputation by flagging answers useful if you like. Have fun, Heraton |
All times are GMT -5. The time now is 05:32 AM. |