:: Re: [DNG] My virtual terminals seem…
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Rainer Weikusat
日付:  
To: Florian Zieboll
CC: dng
題目: Re: [DNG] My virtual terminals seem amiss
Florian Zieboll <f.zieboll@???> writes:
> Rainer Weikusat <rainerweikusat@???> wrote:
>
>
>> JFTR: The point of the [] in
>>
>> ps faux | grep get[t]y
>>
>> was that it eliminates the grep itself from the output.
>
>
> Would you please elaborate on this magic?! I found a great RegEx
> reference (1) by the way, but no answer, I'm stunned.


[t]

is a character class matching all characters which are t. Hence, the
regex matches getty but not get[t]y.