[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] mention how to specify file names containing = in the doc
From: |
Stephane Chazelas |
Subject: |
Re: [bug-gawk] mention how to specify file names containing = in the doc |
Date: |
Sun, 11 Aug 2019 14:33:32 +0100 |
User-agent: |
NeoMutt/20171215 |
2019-08-11 06:03:28 -0600, address@hidden:
[...]
> I guess you have to down grade the trick from "well documented" to
> merely "well known". :-) It's part of the grand Oral Tradition of Unix,
> along with the similar trick of using ./-x to cause a file that
> starts with a minus sign to not be treated as an option.
>
> I will go ahead and add a sentence or two at an appropriate spot in
> the manual.
>
> Thanks for the suggestion,
[...]
The
gawk -e '{gawk code here}' -E /dev/null "$file"
trick to allow arbitrary file names (includes "--help",
"dc=example,dc.com.ldif" but unfortunately not "-") may also be
worth noting.
--
Stephane