[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using $ in quotes with characters after it
From: |
Paul Eggert |
Subject: |
Re: Using $ in quotes with characters after it |
Date: |
Thu, 22 Mar 2012 08:38:15 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120209 Thunderbird/10.0.1 |
On 03/21/2012 08:16 PM, Dan wrote:
> Hello,
>
> I've noticed something strange when using grep. It has to do with a
> pattern similar to this one: "hello$world".
My guess is that your shell is interpreting '$world' as the
empty string, usually. (Depends on what identifier you're
using, 'world' being just one.) Try using single quotes
rather than double.
- Using $ in quotes with characters after it, Dan, 2012/03/21
- Re: Using $ in quotes with characters after it,
Paul Eggert <=
- Re: Using $ in quotes with characters after it, Dan, 2012/03/23
- Re: Using $ in quotes with characters after it, Mike Frysinger, 2012/03/24
- Re: Using $ in quotes with characters after it, Dan, 2012/03/24
- Re: Using $ in quotes with characters after it, Mike Frysinger, 2012/03/24
- Re: Using $ in quotes with characters after it, Dan, 2012/03/25
- Re: Using $ in quotes with characters after it, Mike Frysinger, 2012/03/25