Search Results

Search: Posts Made By: alister
2,398
Posted By alister
Oh, yeah ... that too. :) For the benefit...
Oh, yeah ... that too. :)

For the benefit of the OP, if your pattern doesn't match any pathname, it isn't expanded. It is passed to the command as is.

Regards,
Alister
2,398
Posted By alister
Show us the entire script. That behavior would...
Show us the entire script. That behavior would only occur if the argument to ls is quoted or if pathname expansion is disabled (very unlikely).



It has nothing to do with ^. It has to do with...
2,398
Posted By alister
That pattern is incorrect. If the second...
That pattern is incorrect. If the second character is any non-digit (or even if there is no second character at all), the pattern will match. * allows zero digits to match.

Regards,
Alister
Showing results 1 to 3 of 3

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