[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Native file exist check
From: |
Andrew J. Schorr |
Subject: |
Re: Native file exist check |
Date: |
Fri, 5 Jun 2020 14:26:30 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Jun 05, 2020 at 07:56:31PM +0200, Wolfgang Laun wrote:
> It's interesting that ".." and ".?" work, but not a single period ".".
Ah, .? is a good solution. A single "." doesn't work because
an RS of a single character is treated as a character constant,
not a regexp. From the man page:
"If RS is any single character, that character separates records.
Otherwise, RS is a regular expression."
Regards,
Andy
Re: Native file exist check, Andrew J. Schorr, 2020/06/05
Re: Native file exist check, arnold, 2020/06/07