Search Results

Search: Posts Made By: PaulUrwin
5,498
Posted By PaulUrwin
For loop - coping with an asterisk item
How do you get a for loop to cope with one of the items being an asterisk?


for myResult in `echo "*"`
do
echo "$myResult"
done



The asterisk is returning a file listing in the PWD.
...
Showing results 1 to 1 of 1

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