[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse
Subject:    Re: wildcards (was "Re: root filling up")
From:       Anton Aylward <opensuse () antonaylward ! com>
Date:       2021-03-16 12:39:18
Message-ID: 98bbf5ab-a53a-42f7-3116-8012e1216a75 () antonaylward ! com
[Download RAW message or body]

On 2021-03-16 8:30 a.m., Anton Aylward wrote:
> On 2021-03-15 6:38 p.m., David T-G wrote:
> 
>>    diskfarm:/tmp/X # ls -la .[:alnum:]*
>>    -rw-r--r-- 1 root root 0 Mar 15 22:27 .abc
>>    diskfarm:/tmp/X # ls -la .[:alnum:]
>>    ls: cannot access '.[:alnum:]': No such file or directory
>>    diskfarm:/tmp/X #
>>
>> Note that .abc worked because 'a' is one of the characters :-)
>>
> 
> it looks like the shell doesn't like  [:alnum:]
> 
> But then again, those are POSIX defines character classes.
> I don't think that the shell is operating in a POSIX environment.
	
	Forget i said that.
	I wasn't even half way through my first coffee.


-- 
“Reality is so complex, we must move away from dogma, whether it’s conspiracy 
theories or free-market,”
      -- James Glattfelder. http://jth.ch/jbg
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic