Search Results

Search: Posts Made By: break_da_funk
1,847
Posted By break_da_funk
I will remeber about this :)
I will remeber about this :)
1,847
Posted By break_da_funk
Thank You. Eval also solves the problem.
Thank You. Eval also solves the problem.
1,847
Posted By break_da_funk
Hello! Thank You all for the answers. The...
Hello!
Thank You all for the answers.
The best solution for now is:
test.sh:
#!/bin/sh
my_args="1 2 3 '4 5' 6"
echo "Count of arguments when using my_args:"
echo "./arguments_count.sh...
1,847
Posted By break_da_funk
Yes and the result is "1 argument".
Yes and the result is "1 argument".
1,847
Posted By break_da_funk
Arguments in variable vs direct string
Hello Community!
Let's say that we have some script which counts its arguments number:
arguments_count.sh:
#!/bin/sh
echo "Number of arguments="$#and some test script:
test.sh:
#!/bin/sh...
Showing results 1 to 5 of 5

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